st/code/win32/platform/push_segs.h
2008-04-04 00:00:00 +00:00

15 lines
No EOL
271 B
C

#ifndef _MSC_VER
#error this is VC-only hack
#endif
#ifdef HW_ST_SEGS_PUSHED
#error can't push the segs twice
#endif
#pragma data_seg( push )
#pragma data_seg( ".hwdata$n" )
#pragma bss_seg( push )
#pragma bss_seg( ".hwbss$n" )
#define HW_ST_SEGS_PUSHED