Changeset 472:e098480dd275 in roaraudio


Ignore:
Timestamp:
08/12/08 21:03:00 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

this maybe get compiling on old gccs work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/roaraudio.h

    r450 r472  
    7373#define ROAR_DBG_FULLPREFIX "(" ROAR_DBG_PREFIX ": " __FILE__ ":%i): " 
    7474 
     75#if __GNUC__ < 3 
     76 #define ROAR_DBG(format, args...) 
     77 #define ROAR_ERR(format, args...) 
     78 #define ROAR_WARN(format, args...) 
     79#else 
     80 
    7581#ifdef DEBUG 
    7682 #define ROAR_DBG(format, args...)  fprintf(ROAR_DEBUG_OUTFH, ROAR_DBG_FULLPREFIX "DEBUG: " format "\n", __LINE__, ## args) 
     
    8288#define ROAR_WARN(format, args...) fprintf(ROAR_DEBUG_OUTFH, ROAR_DBG_FULLPREFIX "Warning: " format "\n", __LINE__, ## args) 
    8389 
     90#endif 
    8491 
    8592#ifdef ROAR_HAVE_SAFE_OVERFLOW 
Note: See TracChangeset for help on using the changeset viewer.