Ignore:
Timestamp:
May 29, 2015, 7:11:19 PM (10 years ago)
Author:
rousseau
Message:

Disabling mapping of 'printf' to 'emx_printf'

Currently 'swt.dll' is built without EMX being defined.
Was this mapping needed for older (v3.x) Gcc Compilers ?
Regular 'printf' seems to work OK with Gcc/2 v4.9.2 for simple comsole
debugging.

If this change is incorrect it will of course be reverted.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/swt/include/win/debugstr.h

    r21352 r22098  
    2424#ifdef __GNUC__
    2525
    26 #ifdef printf
    27 #undef printf
    28 #endif
     26//#ifdef printf
     27//#undef printf
     28//#endif
    2929
    3030extern int dbg_printf(const char *format, ...) __attribute__((format (printf,1,2)));
    3131
    32 #define printf emx_printf
     32//#define printf emx_printf
    3333
    3434#else
Note: See TracChangeset for help on using the changeset viewer.