Explorar o código

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 %!s(int64=13) %!d(string=hai) anos
pai
achega
1ad5b4afb1
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  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