restart_sound_buffer2 (sdp);
}
-#if WITH_OPENAL
+#ifdef WITH_OPENAL
static int alcheck (struct sound_data *sd, int v)
{
struct sound_dp *s = sd->data;
}
-#if WITH_OPENAL
+#ifdef WITH_OPENAL
static void OpenALEnumerate (struct sound_device **sds, const char *pDeviceNames, const char *ppDefaultDevice, int skipdetect)
{
while (pDeviceNames && *pDeviceNames) {
if (sounddrivermask & SOUNDDRIVE_XAUDIO2)
xaudioenumerate (sound_devices);
#endif
-#if WITH_OPENAL
+#ifdef WITH_OPENAL
if (sounddrivermask & SOUNDDRIVER_OPENAL) {
__try {
if (isdllversion (_T("openal32.dll"), 6, 14, 357, 22)) {