void hexa_print(const char*name, unsigned char *data, int size);
const char *hexa_str(unsigned char *data, int size, int downside);
-
-#if defined(WIN32)
-/* Visual C++ does not implements the gettimeofday() function */
-XBT_PUBLIC(int)
-gettimeofday(struct timeval *tv, struct timezone *tz);
-#endif
-
-#define HAVE_SEM_TIMEDWAIT 1
-
-/* mac osx doesn't have the sem_timedwait() function */
-#if defined(__GNUC__) && ( defined(__APPLE_CPP__) || defined(__APPLE_CC__) || defined(__MACOS_CLASSIC__) )
-#
-# undef HAVE_SEM_TIMEDWAIT
-#
-#endif
-
#endif /* GRAS_PORTABLE_H */
#define S_IWUSR _S_IWRITE
#define S_IRUSR _S_IREAD
-#define HAVE_STRUCT_TIMESPEC 0
-
-#define HAVE_STRUCT_TM 1
-
-#define HAVE_GETTIMEOFDAY 1
-
#ifdef _WIN32_WINNT
#if _WIN32_WINNT < 0x0400
#undef _WIN32_WINNT
/* Visual C++ does not declare the uint32_t type */
typedef unsigned int uint32_t;
-/* Visual C++ doesn't declare the structure timespec */
-struct timespec
-{
- long tv_sec; /* seconds */
- long tv_nsec; /* nanoseconds */
-};
-
-/* Visual C++ doesn't declare the structure timezone :
- *(a structure used to indicate the local time zone)
- */
-struct timezone
-{
- int tz_minuteswest; /* of Greenwich */
- int tz_dsttime; /* type of dst correction to apply */
-};
-
#endif /* #ifndef __XBT_VISUALC_COMPILER_CONFIG_H__ */