]> AND Public Git Repository - simgrid.git/blobdiff - src/portable.h
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add convenient debug function on conditions and use it in simix.
[simgrid.git] / src / portable.h
index 99de0b81ecfce542f2d2940fd0d226423e6d73ce..f56b81db8f75c43f5f1aa4eb6419d68e0d90f49b 100644 (file)
@@ -156,20 +156,4 @@ extern int vasnprintf(char **ptr, size_t str_m, const char *fmt, va_list ap);
 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 */