[xiph-cvs] cvs commit: vorbis/lib registry.h

Chris Wolf cwolf at xiph.org
Thu Oct 18 16:29:30 PDT 2001



cwolf       01/10/18 16:29:30

  Modified:    lib      registry.h
  Log:
  Make DLL exports work for other win32 compilers, per Dimitry Andric's suggestion

Revision  Changes    Path
1.10      +3 -3      vorbis/lib/registry.h

Index: registry.h
===================================================================
RCS file: /usr/local/cvsroot/vorbis/lib/registry.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- registry.h	2001/10/18 17:35:44	1.9
+++ registry.h	2001/10/18 23:29:29	1.10
@@ -11,7 +11,7 @@
  ********************************************************************
 
  function: registry for time, floor, res backends and channel mappings
- last mod: $Id: registry.h,v 1.9 2001/10/18 17:35:44 cwolf Exp $
+ last mod: $Id: registry.h,v 1.10 2001/10/18 23:29:29 cwolf Exp $
 
  ********************************************************************/
 
@@ -25,8 +25,8 @@
 #define VI_RESB 3
 #define VI_MAPB 1
 
-#if defined(_MSC_VER) && defined(DLL_IMPORT)
-# define EXTERN _declspec(dllimport) extern
+#if defined(_WIN32) && defined(VORBISDLL_IMPORT)
+# define EXTERN __declspec(dllimport) extern
 #else
 # define EXTERN extern
 #endif

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list