diff options
Diffstat (limited to 'Tests/ModuleDefinition/example_mod_1.c')
-rw-r--r-- | Tests/ModuleDefinition/example_mod_1.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Tests/ModuleDefinition/example_mod_1.c b/Tests/ModuleDefinition/example_mod_1.c index 4e2f9ba..6b355cf 100644 --- a/Tests/ModuleDefinition/example_mod_1.c +++ b/Tests/ModuleDefinition/example_mod_1.c @@ -1,7 +1,7 @@ #ifdef __WATCOMC__ -# define MODULE_CCONV __cdecl +#define MODULE_CCONV __cdecl #else -# define MODULE_CCONV +#define MODULE_CCONV #endif int __declspec(dllimport) example_exe_function(void); @@ -12,8 +12,7 @@ int __declspec(dllimport) example_dll_2_function(void); __declspec(dllexport) int MODULE_CCONV example_mod_1_function(int n) { - return - example_dll_function() + + return example_dll_function() + #ifdef EXAMPLE_DLL_2 example_dll_2_function() + #endif |