Changeset 1028 for trunk/src/emx/include/spawn.h
- Timestamp:
- Jan 24, 2004, 4:34:07 AM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/include/spawn.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1027 r1028 18 18 02111-1307 USA. */ 19 19 20 /** @file 21 * GLIBC 2.3.2 22 * @changed bird: we don't have features.h, sched.h or the GLIBC standard definitions. 23 */ 24 20 25 #ifndef _SPAWN_H 21 26 #define _SPAWN_H 1 22 27 28 #ifndef __EMX__ /* bird */ 23 29 #include <features.h> 24 30 #include <sched.h> 31 #endif /* bird */ 25 32 #include <signal.h> 26 33 #include <sys/types.h> 34 35 /* bird - start */ 36 #ifdef __EMX__ 37 38 #ifndef __THROW 39 #define __THROW 40 #endif 41 42 /* GCC 2.95 and later have "__restrict"; C99 compilers have 43 "restrict", and "configure" may have defined "restrict". */ 44 #ifndef __restrict 45 # if ! (2 < __GNUC__ || (2 == __GNUC__ && 95 <= __GNUC_MINOR__)) 46 # if defined restrict || 199901L <= __STDC_VERSION__ 47 # define __restrict restrict 48 # else 49 # define __restrict 50 # endif 51 # endif 52 #endif 53 54 /* GCC 3.1 and later support declaring arrays as non-overlapping 55 using the syntax array_name[restrict] */ 56 #ifndef __restrict_arr 57 # if ! (3 < __GNUC__ || (3 == __GNUC__ && 1 <= __GNUC_MINOR__)) || defined (__GNUG__) 58 # define __restrict_arr 59 # else 60 # define __restrict_arr __restrict 61 # endif 62 #endif 63 64 /** @todo implement sched.h */ 65 struct sched_param { 66 int sched_priority; 67 }; 68 #define SCHED_FIFO 1 69 #define SCHED_OTHER 2 70 #define SCHED_RR 3 71 72 #endif 73 /* bird - end */ 27 74 28 75 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.