Changeset 38156

Show
Ignore:
Timestamp:
08/03/10 21:46:38 (3 years ago)
Author:
saturday06
Message:

p

Location:
lang/c/NetworkUpdater/trunk/recipes
Files:
1 added
1 modified

Legend:

Unmodified
Added
Removed
  • lang/c/NetworkUpdater/trunk/recipes/Common.h

    r38144 r38156  
    114114 
    115115#if defined(__GNUC__) && defined(__STRICT_ANSI__) 
    116 #  define strdup NUI_strdup 
    117 #  define wcsdup NUI_wcsdup 
     116#  define strdup(x) NUI_strdup(x) 
     117#  define wcsdup(x) NUI_wcsdup(x) 
     118#  if defined(_WIN32) || defined(__CYGWIN__) 
     119#    define _strdup(x) NUI_strdup(x) 
     120#    define _wcsdup(x) NUI_wcsdup(x) 
     121#  endif 
    118122#elif defined(_WIN32) 
    119 #  define strdup _strdup 
    120 #  define wcsdup _wcsdup 
     123#  define strdup(x) _strdup(x) 
     124#  define wcsdup(x) _wcsdup(x) 
    121125#endif 
    122126