DOSBox-X
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
src/hardware/snd_pc98/sound/sndcsec.c
00001 #include        "compiler.h"
00002 #include        "sound.h"
00003 #include        "sndcsec.h"
00004 
00005 
00006 #if defined(SOUND_CRITICAL)
00007 
00008 #if defined(WIN32) || defined(_WIN32_WCE)
00009 
00010         CRITICAL_SECTION        sndcsec;
00011 
00012 #elif defined(MACOS)
00013 
00014         MPCriticalRegionID      sndcsec;
00015 
00016 #elif defined(X11) || defined(SLZAURUS)
00017 
00018         pthread_mutex_t         sndcsec;                // = PTHREAD_MUTEX_INITIALIZER;
00019 
00020 #endif
00021 
00022 #endif
00023