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

Chris Wolf cwolf at xiph.org
Thu Oct 18 10:35:46 PDT 2001



cwolf       01/10/18 10:35:45

  Modified:    lib      registry.h
  Log:
  Get rid of shmmap stuff.

Revision  Changes    Path
1.9       +11 -5     vorbis/lib/registry.h

Index: registry.h
===================================================================
RCS file: /usr/local/cvsroot/vorbis/lib/registry.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- registry.h	2001/08/13 01:36:57	1.8
+++ registry.h	2001/10/18 17:35:44	1.9
@@ -11,7 +11,7 @@
  ********************************************************************
 
  function: registry for time, floor, res backends and channel mappings
- last mod: $Id: registry.h,v 1.8 2001/08/13 01:36:57 xiphmont Exp $
+ last mod: $Id: registry.h,v 1.9 2001/10/18 17:35:44 cwolf Exp $
 
  ********************************************************************/
 
@@ -25,9 +25,15 @@
 #define VI_RESB 3
 #define VI_MAPB 1
 
-extern vorbis_func_time      *_time_P[];
-extern vorbis_func_floor     *_floor_P[];
-extern vorbis_func_residue   *_residue_P[];
-extern vorbis_func_mapping   *_mapping_P[];
+#if defined(_MSC_VER) && defined(DLL_IMPORT)
+# define EXTERN _declspec(dllimport) extern
+#else
+# define EXTERN extern
+#endif
+
+EXTERN vorbis_func_time      *_time_P[];
+EXTERN vorbis_func_floor     *_floor_P[];
+EXTERN vorbis_func_residue   *_residue_P[];
+EXTERN vorbis_func_mapping   *_mapping_P[];
 
 #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