export BoxOnPlaneSide properly in windows so it doesn't cause a segfault

This commit is contained in:
Bill Currie 2004-01-22 02:26:08 +00:00
parent 73b226b4b7
commit db32c8394b
2 changed files with 7 additions and 0 deletions

View File

@ -35,6 +35,12 @@
# define C(label) label
#endif
#ifdef _WIN32
# define EXPORT(label) .def C(label); .scl 2; .type 32; .endef
#else
# define EXPORT(label)
#endif
//
// !!! note that this file must match the corresponding C structures at all
// times !!!

View File

@ -61,6 +61,7 @@ Ljmptab: .long Lcase0, Lcase1, Lcase2, Lcase3
.align 2
.globl C(BoxOnPlaneSide)
EXPORT(BoxOnPlaneSide)
#ifdef PIC
.type C(BoxOnPlaneSide),@function
#endif