X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Fcompat%2Fuuid.h;fp=include%2Fbabeltrace%2Fcompat%2Fuuid.h;h=c41cc3ec1fc902240ac648c60f50fdc457d0b702;hp=2ce74670796506645c1527d48743e8f0f06d6a22;hb=9d1e7de0dd0572e8071e0bd620c1c569e8b5396b;hpb=e9452def10b0edc7dd064bf6f739a61fdd5229f3 diff --git a/include/babeltrace/compat/uuid.h b/include/babeltrace/compat/uuid.h index 2ce74670..c41cc3ec 100644 --- a/include/babeltrace/compat/uuid.h +++ b/include/babeltrace/compat/uuid.h @@ -1,8 +1,8 @@ -#ifndef _BABELTRACE_UUID_H -#define _BABELTRACE_UUID_H +#ifndef _BABELTRACE_COMPAT_UUID_H +#define _BABELTRACE_COMPAT_UUID_H /* - * babeltrace/uuid.h + * babeltrace/compat/uuid.h * * Copyright (C) 2011 Mathieu Desnoyers * @@ -122,8 +122,16 @@ int babeltrace_uuid_compare(const unsigned char *uuid_a, return -1; } +#elif defined(__MINGW32__) + +int babeltrace_uuid_generate(unsigned char *uuid_out); +int babeltrace_uuid_unparse(const unsigned char *uuid_in, char *str_out); +int babeltrace_uuid_parse(const char *str_in, unsigned char *uuid_out); +int babeltrace_uuid_compare(const unsigned char *uuid_a, + const unsigned char *uuid_b); + #else #error "Babeltrace needs to have a UUID generator configured." #endif -#endif /* _BABELTRACE_UUID_H */ +#endif /* _BABELTRACE_COMPAT_UUID_H */