automatically generated by browser
authorStefan Vogel <sv@exept.de>
Mon, 19 Feb 2007 18:21:16 +0100
changeset 167 b52a483eec8d
parent 166 4a65c50d4f22
child 168 dbe2bd149e23
automatically generated by browser
libInit.cc
--- a/libInit.cc	Mon Feb 19 18:21:09 2007 +0100
+++ b/libInit.cc	Mon Feb 19 18:21:16 2007 +0100
@@ -1,25 +1,20 @@
 /*
- * $Header: /cvs/stx/stx/goodies/sunit/libInit.cc,v 1.4 2007-01-12 19:17:28 stefan Exp $
+ * $Header: /cvs/stx/stx/goodies/sunit/libInit.cc,v 1.5 2007-02-19 17:21:16 stefan Exp $
  *
  * DO NOT EDIT 
  * automagically generated from the projectDefinition: stx_goodies_sunit.
  */
 #define __INDIRECTVMINITCALLS__
 #include <stc.h>
-#define INIT_TEXT_SECT /* as nothing */
+
 #ifdef WIN32
 # pragma codeseg INITCODE "INITCODE"
-#else /* not WIN32 */
-# if defined(__GNUC__) && !defined(NO_SECTION_ATTRIBUTES)
-#  if (__GNUC__  == 2 && __GNUC_MINOR__ >= 7) || __GNUC__ > 2
-#   undef INIT_TEXT_SECT
-#   define INIT_TEXT_SECT __attribute__((section(".stxitext")))
-#  endif
-# endif /* not GNUC */
-#endif /* not WIN32 */
-#ifdef INIT_TEXT_SECT
-DLL_EXPORT extern void _libstx_goodies_sunit_Init() INIT_TEXT_SECT;
+#endif 
+
+#if defined(INIT_TEXT_SECTION) || defined(DLL_EXPORT)
+DLL_EXPORT void _libstx_goodies_sunit_Init() INIT_TEXT_SECTION;
 #endif
+
 void _libstx_goodies_sunit_Init(pass, __pRT__, snd)
 OBJ snd; struct __vmData__ *__pRT__; {
 __BEGIN_PACKAGE2__("libstx_goodies_sunit", _libstx_goodies_sunit_Init, "stx:goodies/sunit");