Changeset 4149
- Timestamp:
- Dec 13, 2007, 3:24:35 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.9x/libtransmission/platform.c
r4045 r4149 23 23 *****************************************************************************/ 24 24 25 #ifdef __BEOS__ 26 #include <signal.h> 27 #include <fs_info.h> 28 #include <FindDirectory.h> 29 #include <kernel/OS.h> 30 #define BEOS_MAX_THREADS 256 31 #elif defined(WIN32) 32 #include <windows.h> 33 #include <shlobj.h> /* for CSIDL_APPDATA, CSIDL_PROFILE */ 34 #else 35 #define _XOPEN_SOURCE 500 /* needed for recursive locks. */ 36 #ifndef __USE_UNIX98 37 #define __USE_UNIX98 /* some older Linuxes need it spelt out for them */ 38 #endif 39 #include <pthread.h> 40 #endif 41 25 42 #include <assert.h> 26 43 #include <errno.h> … … 28 45 #include <stdlib.h> 29 46 #include <string.h> 30 31 #ifdef __BEOS__32 #include <signal.h>33 #include <fs_info.h>34 #include <FindDirectory.h>35 #include <kernel/OS.h>36 #define BEOS_MAX_THREADS 25637 #elif defined(WIN32)38 #include <windows.h>39 #include <shlobj.h> /* for CSIDL_APPDATA, CSIDL_PROFILE */40 #else41 #define _XOPEN_SOURCE 500 /* needed for recursive locks. */42 #ifndef __USE_UNIX9843 #define __USE_UNIX98 /* some older Linuxes need it spelt out for them */44 #endif45 #include <pthread.h>46 #endif47 47 48 48 #include <sys/types.h>
Note: See TracChangeset
for help on using the changeset viewer.