2003-06-09 23:23:53 +02:00
|
|
|
#if defined(_WIN32) || defined(__CYGWIN__)
|
|
|
|
# define ATTRIBUTES __attribute((__dllexport__))
|
|
|
|
#else
|
|
|
|
# define ATTRIBUTES
|
|
|
|
#endif
|
|
|
|
|
|
|
|
static int static_var_2;
|
|
|
|
|
2005-05-18 03:38:46 +02:00
|
|
|
ATTRIBUTES void fn_2 (int referenced) { static_var_2 = referenced; }
|
2003-06-09 23:23:53 +02:00
|
|
|
ATTRIBUTES int extern_var_2 = 0;
|