Skip to content

Commit 4df5375

Browse files
committed
g3sdk: update 3dfx.h from https://sezero@github.com/sezero/glide.git
1 parent a354628 commit 4df5375

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

g3sdk/include/3dfx.h

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
** THE UNITED STATES.
1717
**
1818
** COPYRIGHT 3DFX INTERACTIVE, INC. 1999, ALL RIGHTS RESERVED
19-
**
20-
** $Revision: 1.3.4.5 $
21-
** $Date: 2005/08/13 21:07:03 $
2219
*/
2320
#ifndef __3DFX_H__
2421
#define __3DFX_H__
@@ -30,7 +27,7 @@ typedef unsigned char FxU8;
3027
typedef signed char FxI8;
3128
typedef unsigned short FxU16;
3229
typedef signed short FxI16;
33-
#if defined(__DJGPP__)||defined(_WIN32)
30+
#if defined(__DOS__) || defined(__MSDOS__) || defined(_WIN32) || defined(macintosh)
3431
typedef signed long FxI32;
3532
typedef unsigned long FxU32;
3633
#else
@@ -69,7 +66,7 @@ typedef struct { float r, g, b, a; } FxColor4;
6966
# define FX_ENTRY
7067
# define FX_CALL
7168
# else
72-
# define FX_ENTRY __declspec( dllimport )
69+
# define FX_ENTRY extern
7370
# define FX_CALL __stdcall
7471
# endif
7572
#elif defined(__WATCOMC__)

0 commit comments

Comments
 (0)