diff options
author | marha <marha@users.sourceforge.net> | 2012-05-30 14:13:44 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-05-30 14:13:44 +0200 |
commit | c587ef5a80c34082b4d7fb66a77bd39bea33aa03 (patch) | |
tree | 9695fc16b5bde265dd618d061b51cc143c16283c /mesalib/src/mapi/glapi/gen/gl_table.py | |
parent | e48563d326cebfe5d7110b64b922120dd37ffe4c (diff) | |
download | vcxsrv-c587ef5a80c34082b4d7fb66a77bd39bea33aa03.tar.gz vcxsrv-c587ef5a80c34082b4d7fb66a77bd39bea33aa03.tar.bz2 vcxsrv-c587ef5a80c34082b4d7fb66a77bd39bea33aa03.zip |
Only define INLINE when it is not defined yet
Diffstat (limited to 'mesalib/src/mapi/glapi/gen/gl_table.py')
-rw-r--r-- | mesalib/src/mapi/glapi/gen/gl_table.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mesalib/src/mapi/glapi/gen/gl_table.py b/mesalib/src/mapi/glapi/gen/gl_table.py index 67ee5e813..3cbf23f1d 100644 --- a/mesalib/src/mapi/glapi/gen/gl_table.py +++ b/mesalib/src/mapi/glapi/gen/gl_table.py @@ -103,8 +103,10 @@ class PrintRemapTable(gl_XML.gl_print_base): def printBody(self, api): print '#ifdef _MSC_VER' + print '#ifndef INLINE' print '#define INLINE __inline' print '#endif' + print '#endif' print '#define CALL_by_offset(disp, cast, offset, parameters) \\' print ' (*(cast (GET_by_offset(disp, offset)))) parameters' print '#define GET_by_offset(disp, offset) \\' |