From 377f8d78a8dc6351e3c212f2e7ad0370f647edd5 Mon Sep 17 00:00:00 2001 From: sezero Date: Sun, 19 Aug 2018 13:40:20 +0300 Subject: [PATCH] glide2x,cvg/sst1 init: #undef FX_DLL_ENABLE so we don't dllexport the syms --- glide2x/cvg/init/dac.c | 3 +++ glide2x/cvg/init/gamma.c | 1 + glide2x/cvg/init/gdebug.c | 1 + glide2x/cvg/init/info.c | 1 + glide2x/cvg/init/parse.c | 1 + glide2x/cvg/init/sli.c | 1 + glide2x/cvg/init/sst1init.c | 3 +++ glide2x/cvg/init/util.c | 3 +++ glide2x/cvg/init/video.c | 1 + glide2x/h3/minihwc/gdebug.c | 1 + glide2x/sst1/init/init96/init96.c | 2 ++ glide2x/sst1/init/init96/initat3d.c | 1 + glide2x/sst1/init/init96/initmcrx.c | 2 ++ glide2x/sst1/init/initvg/dac.c | 3 +++ glide2x/sst1/init/initvg/gamma.c | 1 + glide2x/sst1/init/initvg/gdebug.c | 1 + glide2x/sst1/init/initvg/info.c | 1 + glide2x/sst1/init/initvg/parse.c | 1 + glide2x/sst1/init/initvg/sli.c | 1 + glide2x/sst1/init/initvg/sst1init.c | 2 +- glide2x/sst1/init/initvg/util.c | 3 +++ glide2x/sst1/init/initvg/video.c | 1 + 22 files changed, 34 insertions(+), 1 deletion(-) diff --git a/glide2x/cvg/init/dac.c b/glide2x/cvg/init/dac.c index 05d3c35..fe717e9 100644 --- a/glide2x/cvg/init/dac.c +++ b/glide2x/cvg/init/dac.c @@ -21,6 +21,9 @@ ** Initialization code for initializing supported SST-1 DACs ** */ + +#undef FX_DLL_ENABLE /* so that we don't dllexport the symbols */ + #ifdef _MSC_VER #pragma optimize ("",off) #endif diff --git a/glide2x/cvg/init/gamma.c b/glide2x/cvg/init/gamma.c index 2db428d..7640388 100644 --- a/glide2x/cvg/init/gamma.c +++ b/glide2x/cvg/init/gamma.c @@ -21,6 +21,7 @@ ** Initialization code for loading SST-1 gamma tables ** */ +#undef FX_DLL_ENABLE /* so that we don't dllexport the symbols */ #ifdef _MSC_VER #pragma optimize ("",off) #endif diff --git a/glide2x/cvg/init/gdebug.c b/glide2x/cvg/init/gdebug.c index ca1f4f0..49fe30f 100644 --- a/glide2x/cvg/init/gdebug.c +++ b/glide2x/cvg/init/gdebug.c @@ -20,6 +20,7 @@ ** COPYRIGHT 3DFX INTERACTIVE, INC. 1999, ALL RIGHTS RESERVED */ +#undef FX_DLL_ENABLE /* so that we don't dllexport the symbols */ #include #include #include diff --git a/glide2x/cvg/init/info.c b/glide2x/cvg/init/info.c index 97559a3..5905eb7 100644 --- a/glide2x/cvg/init/info.c +++ b/glide2x/cvg/init/info.c @@ -22,6 +22,7 @@ ** configuration information. ** */ +#undef FX_DLL_ENABLE /* so that we don't dllexport the symbols */ #ifdef _MSC_VER #pragma optimize ("",off) #endif diff --git a/glide2x/cvg/init/parse.c b/glide2x/cvg/init/parse.c index 7e2a4b2..f2e8856 100644 --- a/glide2x/cvg/init/parse.c +++ b/glide2x/cvg/init/parse.c @@ -21,6 +21,7 @@ ** Parsing code for grabbing information from "voodoo2.ini" initialization file ** */ +#undef FX_DLL_ENABLE /* so that we don't dllexport the symbols */ #ifdef _MSC_VER #pragma optimize ("",off) #endif diff --git a/glide2x/cvg/init/sli.c b/glide2x/cvg/init/sli.c index d067cbc..34db83e 100644 --- a/glide2x/cvg/init/sli.c +++ b/glide2x/cvg/init/sli.c @@ -21,6 +21,7 @@ ** Initialization code for initializing scanline interleaving ** */ +#undef FX_DLL_ENABLE /* so that we don't dllexport the symbols */ #ifdef _MSC_VER #pragma optimize ("",off) #endif diff --git a/glide2x/cvg/init/sst1init.c b/glide2x/cvg/init/sst1init.c index 435c8f1..adafd1f 100644 --- a/glide2x/cvg/init/sst1init.c +++ b/glide2x/cvg/init/sst1init.c @@ -136,6 +136,9 @@ ** VOODOO2_PATH path Path used to locate "voodoo2.ini" file ** */ + +#undef FX_DLL_ENABLE /* so that we don't dllexport the symbols */ + #ifdef _MSC_VER #pragma optimize ("",off) #endif diff --git a/glide2x/cvg/init/util.c b/glide2x/cvg/init/util.c index c4f19a6..600003c 100644 --- a/glide2x/cvg/init/util.c +++ b/glide2x/cvg/init/util.c @@ -21,6 +21,9 @@ ** Utility routines for SST-1 Initialization code ** */ + +#undef FX_DLL_ENABLE /* so that we don't dllexport the symbols */ + #ifdef _MSC_VER #pragma optimize ("",off) #endif diff --git a/glide2x/cvg/init/video.c b/glide2x/cvg/init/video.c index 55cfda2..44c8dd0 100644 --- a/glide2x/cvg/init/video.c +++ b/glide2x/cvg/init/video.c @@ -21,6 +21,7 @@ ** Initialization code for initializing SST-1 video unit ** */ +#undef FX_DLL_ENABLE /* so that we don't dllexport the symbols */ #ifdef _MSC_VER #pragma optimize ("",off) #endif diff --git a/glide2x/h3/minihwc/gdebug.c b/glide2x/h3/minihwc/gdebug.c index 43fe852..56097fa 100644 --- a/glide2x/h3/minihwc/gdebug.c +++ b/glide2x/h3/minihwc/gdebug.c @@ -20,6 +20,7 @@ ** COPYRIGHT 3DFX INTERACTIVE, INC. 1999, ALL RIGHTS RESERVED */ +#undef FX_DLL_ENABLE /* so that we don't dllexport the symbols */ #include #include #include diff --git a/glide2x/sst1/init/init96/init96.c b/glide2x/sst1/init/init96/init96.c index ebcb3f9..1d711ca 100644 --- a/glide2x/sst1/init/init96/init96.c +++ b/glide2x/sst1/init/init96/init96.c @@ -19,6 +19,8 @@ ** */ +#undef FX_DLL_ENABLE /* so that we don't dllexport the symbols */ + /* ANSI Headers */ #include #include diff --git a/glide2x/sst1/init/init96/initat3d.c b/glide2x/sst1/init/init96/initat3d.c index 0063b99..493fc19 100644 --- a/glide2x/sst1/init/init96/initat3d.c +++ b/glide2x/sst1/init/init96/initat3d.c @@ -16,6 +16,7 @@ ** */ #define INIT_AT3D_LIB +#undef FX_DLL_ENABLE /* so that we don't dllexport the symbols */ #include <3dfx.h> diff --git a/glide2x/sst1/init/init96/initmcrx.c b/glide2x/sst1/init/init96/initmcrx.c index 42d72d6..42a5ce4 100644 --- a/glide2x/sst1/init/init96/initmcrx.c +++ b/glide2x/sst1/init/init96/initmcrx.c @@ -19,6 +19,8 @@ ** */ +#undef FX_DLL_ENABLE /* so that we don't dllexport the symbols */ + #include <3dfx.h> #include diff --git a/glide2x/sst1/init/initvg/dac.c b/glide2x/sst1/init/initvg/dac.c index b202ccb..1a9c896 100644 --- a/glide2x/sst1/init/initvg/dac.c +++ b/glide2x/sst1/init/initvg/dac.c @@ -19,6 +19,9 @@ ** ** Initialization code for initializing supported SST-1 DACs */ + +#undef FX_DLL_ENABLE /* so that we don't dllexport the symbols */ + #ifdef _MSC_VER #pragma optimize ("",off) #endif diff --git a/glide2x/sst1/init/initvg/gamma.c b/glide2x/sst1/init/initvg/gamma.c index 58bc87e..22838c7 100644 --- a/glide2x/sst1/init/initvg/gamma.c +++ b/glide2x/sst1/init/initvg/gamma.c @@ -20,6 +20,7 @@ ** Initialization code for loading SST-1 gamma tables ** */ +#undef FX_DLL_ENABLE /* so that we don't dllexport the symbols */ #ifdef _MSC_VER #pragma optimize ("",off) #endif diff --git a/glide2x/sst1/init/initvg/gdebug.c b/glide2x/sst1/init/initvg/gdebug.c index a770088..6e951fa 100644 --- a/glide2x/sst1/init/initvg/gdebug.c +++ b/glide2x/sst1/init/initvg/gdebug.c @@ -18,6 +18,7 @@ ** COPYRIGHT 3DFX INTERACTIVE, INC. 1999, ALL RIGHTS RESERVED */ +#undef FX_DLL_ENABLE /* so that we don't dllexport the symbols */ #include #include diff --git a/glide2x/sst1/init/initvg/info.c b/glide2x/sst1/init/initvg/info.c index 171e0ae..51b81bb 100644 --- a/glide2x/sst1/init/initvg/info.c +++ b/glide2x/sst1/init/initvg/info.c @@ -21,6 +21,7 @@ ** configuration information. ** */ +#undef FX_DLL_ENABLE /* so that we don't dllexport the symbols */ #ifdef _MSC_VER #pragma optimize ("",off) #endif diff --git a/glide2x/sst1/init/initvg/parse.c b/glide2x/sst1/init/initvg/parse.c index c0740f8..ccd85d9 100644 --- a/glide2x/sst1/init/initvg/parse.c +++ b/glide2x/sst1/init/initvg/parse.c @@ -20,6 +20,7 @@ ** Parsing code for grabbing information from "voodoo.ini" initialization file ** */ +#undef FX_DLL_ENABLE /* so that we don't dllexport the symbols */ #ifdef _MSC_VER #pragma optimize ("",off) #endif diff --git a/glide2x/sst1/init/initvg/sli.c b/glide2x/sst1/init/initvg/sli.c index 4535ab9..044b008 100644 --- a/glide2x/sst1/init/initvg/sli.c +++ b/glide2x/sst1/init/initvg/sli.c @@ -20,6 +20,7 @@ ** Initialization code for initializing scanline interleaving ** */ +#undef FX_DLL_ENABLE /* so that we don't dllexport the symbols */ #ifdef _MSC_VER #pragma optimize ("",off) #endif diff --git a/glide2x/sst1/init/initvg/sst1init.c b/glide2x/sst1/init/initvg/sst1init.c index ad1c0d2..b828df9 100644 --- a/glide2x/sst1/init/initvg/sst1init.c +++ b/glide2x/sst1/init/initvg/sst1init.c @@ -118,7 +118,7 @@ ** VOODOO_PATH path Path used to locate "voodoo.ini" file ** */ - +#undef FX_DLL_ENABLE /* so that we don't dllexport the symbols */ #ifdef _MSC_VER #pragma optimize ("",off) #endif diff --git a/glide2x/sst1/init/initvg/util.c b/glide2x/sst1/init/initvg/util.c index bf1dcbd..63a0262 100644 --- a/glide2x/sst1/init/initvg/util.c +++ b/glide2x/sst1/init/initvg/util.c @@ -20,6 +20,9 @@ ** Utility routines for SST-1 Initialization code ** */ + +#undef FX_DLL_ENABLE /* so that we don't dllexport the symbols */ + #ifdef _MSC_VER #pragma optimize ("",off) #endif diff --git a/glide2x/sst1/init/initvg/video.c b/glide2x/sst1/init/initvg/video.c index 23a1a13..64e9883 100644 --- a/glide2x/sst1/init/initvg/video.c +++ b/glide2x/sst1/init/initvg/video.c @@ -20,6 +20,7 @@ ** Initialization code for initializing SST-1 video unit ** */ +#undef FX_DLL_ENABLE /* so that we don't dllexport the symbols */ #ifdef _MSC_VER #pragma optimize ("",off) #endif