소스 검색

Use the same module initialisation under windows.

As it stands windows uses the built in static variable construction,
while linux uses an internal mechanism.  The windows mechanism works
for dll dependencies, but it doesn't work for different priorities
within a module.

I hit an example where I wanted two priorities within the same module
which didn't work.  (Since worked around.)  I suspect it is partly
luck with the alphametic order of modules in eclcc that  stops it
causing problems already.

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday 13 년 전
부모
커밋
1ad5b4afb1
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      system/jlib/jlib.hpp

+ 0 - 2
system/jlib/jlib.hpp

@@ -23,9 +23,7 @@
 
 #include "jexpdef.hpp"
 
-#if !defined(_WIN32)
 #define EXPLICIT_INIT
-#endif
 
 
 #ifdef _MSC_VER