Show
Ignore:
Timestamp:
11/17/08 17:43:02 (5 years ago)
Author:
saturday06
Message:

leak

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/c/AutoUpdater/AutoUpdater.h

    r23918 r23921  
    66   ----------------------------------------------------------------------- */ 
    77 
     8#include <stddef.h> 
    89 
    9 #if defined(WIN32) || defined(_WIN64) || defined(_WIN32_WCE) || defined(__CYGWIN__) 
    10 //#define _WIN32_IE    0x0550 // mlang.dll 
    11 //#define _WIN32_WINNT 0x0400 
    12 //#define WINVER       0x0400 // Windows 95 
    13 //#define STRICT 
    14 #include <windows.h> 
    15 #include <wininet.h> 
    16 #define AU_WINDOWS 
    17 #define AU_CHAR_ TCHAR 
     10#if (defined(WIN32) || defined(_WIN64) || defined(_WIN32_WCE)) && !defined(__CYGWIN__) 
     11  //#define _WIN32_IE    0x0550 // mlang.dll 
     12  //#define _WIN32_WINNT 0x0400 
     13  //#define WINVER       0x0400 // Windows 95 
     14  //#define STRICT 
     15  #include <windows.h> 
     16  #include <wininet.h> 
     17  #define AU_WINDOWS 
     18  #define AU_CHAR_ TCHAR 
    1819#else 
    19 #define AU_CHAR_ char 
     20  #define AU_CHAR_ char 
    2021#endif 
    2122