mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-17 22:50:51 +00:00
export BoxOnPlaneSide properly in windows so it doesn't cause a segfault
This commit is contained in:
parent
73b226b4b7
commit
db32c8394b
2 changed files with 7 additions and 0 deletions
|
@ -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 !!!
|
||||
|
|
|
@ -61,6 +61,7 @@ Ljmptab: .long Lcase0, Lcase1, Lcase2, Lcase3
|
|||
|
||||
.align 2
|
||||
.globl C(BoxOnPlaneSide)
|
||||
EXPORT(BoxOnPlaneSide)
|
||||
#ifdef PIC
|
||||
.type C(BoxOnPlaneSide),@function
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue