mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-27 22:42:09 +00:00
fix bg_lib.h compilation with lcc
This commit is contained in:
parent
da2f4341c2
commit
1b1e30edd9
1 changed files with 7 additions and 0 deletions
|
@ -26,6 +26,13 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
#ifndef BG_LIB_H
|
||||
#define BG_LIB_H
|
||||
|
||||
//Ignore __attribute__ on non-gcc platforms
|
||||
#ifndef __GNUC__
|
||||
#ifndef __attribute__
|
||||
#define __attribute__(x)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef NULL
|
||||
#define NULL ((void *)0)
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue