Ignore:
Timestamp:
05/06/05 07:51:30 (7 years ago)
Author:
gnue
Message:

support autoconf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEWT0/trunk/src/newt_core/incs/platform.h

    r13 r14  
    1515 
    1616 
    17 #ifdef __DARWIN__ 
    18     #define __PLATFORM__        "Darwin" 
    19     #define __DYLIBSUFFIX__     ".dylib" 
    20     #define HAVE_STDINT_H       1 
    21 #endif 
    22  
    23 #ifdef __linux__ 
    24     #define __PLATFORM__        "Linux" 
    25     #define __DYLIBSUFFIX__     ".so" 
    26     #define HAVE_STDINT_H       1 
    27 #endif 
    28  
    29 #ifdef __FREEBSD__ 
    30     #define __PLATFORM__        "FreeBSD" 
    31     #define __DYLIBSUFFIX__     ".so" 
    32 #endif 
    33  
    34 #ifdef __MINGW32__ 
    35     #define __PLATFORM__        "WIN32" 
    36     #define __DYLIBSUFFIX__     ".dll" 
    37     #define HAVE_STDINT_H       1 
    38 #endif 
    39  
    40 #ifdef __BEOS__ 
    41     #define __PLATFORM__        "BeOS" 
    42     #define __DYLIBSUFFIX__     ".so" 
    43 #endif 
    44  
    45  
    46 #ifndef HAVE_STDINT_H 
    47     #define HAVE_STDINT_H       0 
    48 #endif 
     17/* ƒwƒbƒ_ƒtƒ@ƒCƒ‹ */ 
     18#include "config.h" 
    4919 
    5020 
    5121// –¢’è‹`‚̏ꍇ‚̓fƒtƒHƒ‹ƒg’l‚ðÝ’è‚·‚é 
    5222#ifndef __PLATFORM__ 
    53     #define __PLATFORM__        NULL 
     23    #define __PLATFORM__            NULL 
    5424#endif 
    5525 
Note: See TracChangeset for help on using the changeset viewer.