#include <loggers/console_logger.h>
#include <structures/static_memory_gremlin.h>
-#ifdef __WIN32__
+#ifdef _MSC_VER
#include <mmsystem.h>
#endif
}
for (int i = 1; i < argc; i++) {
// out.log(astring(astring::SPRINTF, "soundfile %d: %s", i, argv[i]));
-#ifdef __WIN32__
- if (!PlaySound(to_unicode_temp(argv[i]), NIL, SND_FILENAME))
+#ifdef _MSC_VER
+ if (!PlaySound(to_unicode_temp(argv[i]), NULL_POINTER, SND_FILENAME))
out.log(astring("failed to play ") + argv[i], ALWAYS_PRINT);
#else
out.log(astring("this program is a NO-OP, ignoring ") + argv[i], ALWAYS_PRINT);