Pārlūkot izejas kodu

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 gadi atpakaļ
vecāks
revīzija
1ad5b4afb1
1 mainītis faili ar 0 papildinājumiem un 2 dzēšanām
  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