annotate src/hermes/common.inc @ 2137:e47e63af07df

Patched to compile (missing #endif from a mismerge). Thanks to Peter Mackay for pointing it out.
author Ryan C. Gordon <icculus@icculus.org>
date Fri, 29 Jun 2007 11:08:53 +0000
parents d76c3909b244
children
rev   line source
1871
9ff9a58fa1e3 Fixed bug #157
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1 ; Some common macros for hermes nasm code
9ff9a58fa1e3 Fixed bug #157
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
2
9ff9a58fa1e3 Fixed bug #157
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
3 %macro SDL_FUNC 1
9ff9a58fa1e3 Fixed bug #157
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
4 %ifdef HIDDEN_VISIBILITY
9ff9a58fa1e3 Fixed bug #157
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
5 GLOBAL %1:function hidden
9ff9a58fa1e3 Fixed bug #157
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
6 %else
9ff9a58fa1e3 Fixed bug #157
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
7 GLOBAL %1
9ff9a58fa1e3 Fixed bug #157
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
8 %endif
9ff9a58fa1e3 Fixed bug #157
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
9 %endmacro