|
Lines 373-387
Link Here
|
| 373 |
# include <stdlib.h> |
373 |
# include <stdlib.h> |
| 374 |
# endif |
374 |
# endif |
| 375 |
|
375 |
|
| 376 |
# if !defined(OS_BSDI) && \ |
|
|
| 377 |
!defined(OS_FREEBSD) && \ |
| 378 |
!defined(OS_NEXT) && \ |
| 379 |
!defined(OS_MACHTEN) && \ |
| 380 |
!defined(OS_MACOSX) && \ |
| 381 |
!defined(OS_RHAPSODY) && \ |
| 382 |
!defined(OS_MVS) |
| 383 |
# include <malloc.h> |
376 |
# include <malloc.h> |
| 384 |
# endif |
|
|
| 385 |
|
377 |
|
| 386 |
# endif |
378 |
# endif |
| 387 |
|
379 |
|
|
Lines 389-416
Link Here
|
| 389 |
* OSPLAT definitions - suppressed when it's a one-of-a-kind |
381 |
* OSPLAT definitions - suppressed when it's a one-of-a-kind |
| 390 |
*/ |
382 |
*/ |
| 391 |
|
383 |
|
| 392 |
# if defined( _M_PPC ) || \ |
384 |
|
| 393 |
defined( PPC ) || \ |
|
|
| 394 |
defined( ppc ) || \ |
| 395 |
defined( __powerpc__ ) || \ |
| 396 |
defined( __ppc__ ) |
| 397 |
# define OSPLAT "OSPLAT=PPC" |
| 398 |
# endif |
| 399 |
|
| 400 |
# if defined( _ALPHA_ ) || \ |
| 401 |
defined( __alpha__ ) |
| 402 |
# define OSPLAT "OSPLAT=AXP" |
| 403 |
# endif |
| 404 |
|
| 405 |
# if defined( _i386_ ) || \ |
| 406 |
defined( __i386__ ) || \ |
| 407 |
defined( _M_IX86 ) |
| 408 |
# if !defined( OS_FREEBSD ) && \ |
| 409 |
!defined( OS_OS2 ) && \ |
| 410 |
!defined( OS_AS400 ) |
| 411 |
# define OSPLAT "OSPLAT=X86" |
385 |
# define OSPLAT "OSPLAT=X86" |
| 412 |
# endif |
|
|
| 413 |
# endif |
| 414 |
|
386 |
|
| 415 |
# ifdef __sparc__ |
387 |
# ifdef __sparc__ |
| 416 |
# if !defined( OS_SUNOS ) && \ |
388 |
# if !defined( OS_SUNOS ) && \ |
|
Lines 429-440
Link Here
|
| 429 |
# define OSPLAT "OSPLAT=ARM" |
401 |
# define OSPLAT "OSPLAT=ARM" |
| 430 |
# endif |
402 |
# endif |
| 431 |
|
403 |
|
| 432 |
# if defined( __ia64__ ) || \ |
|
|
| 433 |
defined( __IA64__ ) || \ |
| 434 |
defined( _M_IA64 ) |
| 435 |
# define OSPLAT "OSPLAT=IA64" |
| 436 |
# endif |
| 437 |
|
| 438 |
# ifdef __s390__ |
404 |
# ifdef __s390__ |
| 439 |
# define OSPLAT "OSPLAT=390" |
405 |
# define OSPLAT "OSPLAT=390" |
| 440 |
# endif |
406 |
# endif |