Changeset 27 for trunk/src/kmk/make.h
- Timestamp:
- Nov 27, 2002, 1:35:20 AM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/make.h
r25 r27 54 54 #include <err.h> 55 55 56 #if !defined(MAKE_BOOTSTRAP) && defined(BSD4_4) 56 #if !defined(MAKE_BOOTSTRAP) && defined(BSD4_4) && !defined(__IBMC__) 57 57 # include <sys/cdefs.h> 58 58 #else 59 59 # ifndef __P 60 # if defined(__STDC__) || defined(__cplusplus) 60 /*kso: # if defined(__STDC__) || defined(__cplusplus) */ 61 # if defined(__STDC__) || defined(__cplusplus) || defined(__IBMC__) 61 62 # define __P(protos) protos /* full-blown ANSI C */ 62 63 # else … … 64 65 # endif 65 66 # endif 66 # ifndef __STDC__ 67 /*kso: # ifndef __STDC__*/ 68 # if !defined(__STDC__) && !defined(__IBMC__) 67 69 # ifndef const 68 70 # define const … … 74 76 #endif 75 77 76 #ifdef __STDC__ 78 #if defined(__IBMC__) 79 #include <stdlib.h> 80 #include <time.h> 81 /*#ifdef __STDC__*/ 82 #elif defined(__STDC__) 77 83 #include <stdlib.h> 78 84 #include <unistd.h> 79 85 #endif 86 80 87 #include "sprite.h" 81 88 #include "lst.h" … … 364 371 #define DEBUG_LOUD 0x0800 365 372 366 #ifdef __STDC__ 373 /*#ifdef __STDC__*/ 374 #if defined(__STDC__) || defined(__IBMC__) 367 375 #define CONCAT(a,b) a##b 368 376 #else … … 370 378 #define CONCAT(a,b) I(a)b 371 379 #endif /* __STDC__ */ 380 381 372 382 373 383 #define DEBUG(module) (debug & CONCAT(DEBUG_,module))
Note:
See TracChangeset
for help on using the changeset viewer.