Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3810 in orxonox.OLD for orxonox/trunk/src/defs/stdincl.h


Ignore:
Timestamp:
Apr 13, 2005, 10:38:39 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: changed pnode interface of setRelCoor and setRelDir

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/defs/stdincl.h

    r3800 r3810  
    3232/* performance tweaking stuff */
    3333#ifdef __unix__
    34  #include <glib-2.0/glib/gmacros.h>
    35  #define __LIKELY_IF(condition)  if( G_LIKELY(condition))
    36  #define __UNLIKELY_IF(condition) if( G_UNLIKELY(condition))
     34 #include <linux/compiler.h>
     35 #define __LIKELY_IF(condition)  if( likely(condition))
     36 #define __UNLIKELY_IF(condition) if( unlikely(condition))
    3737#else
    3838 #define __LIKELY_IF(condition)  if( condition)
Note: See TracChangeset for help on using the changeset viewer.