Browse Source

Fix suseconds_t for OSX.

nfactor-troky
Ycros 14 years ago
parent
commit
31d98cf167
  1. 8
      compat.h

8
compat.h

@ -1,10 +1,6 @@ @@ -1,10 +1,6 @@
#ifndef __COMPAT_H__
#define __COMPAT_H__
#ifndef __SUSECONDS_T_TYPE
typedef long suseconds_t;
#endif
#ifdef WIN32
#include <windows.h>
@ -28,6 +24,10 @@ typedef unsigned long int ulong; @@ -28,6 +24,10 @@ typedef unsigned long int ulong;
typedef unsigned short int ushort;
typedef unsigned int uint;
#ifndef __SUSECONDS_T_TYPE
typedef long suseconds_t;
#endif
#endif /* WIN32 */
#endif /* __COMPAT_H__ */

Loading…
Cancel
Save