[gnome-games] Use G_OS_WIN32 here instead of a nonexistent #define
- From: Christian Persch <chpe src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-games] Use G_OS_WIN32 here instead of a nonexistent #define
- Date: Fri, 12 Jun 2009 15:05:48 -0400 (EDT)
commit 73e6a56ffc659e71d8547ed63f2379a06ae27ed5
Author: Christian Persch <chpe gnome org>
Date: Fri Jun 12 17:09:44 2009 +0200
Use G_OS_WIN32 here instead of a nonexistent #define
libgames-support/games-sound.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libgames-support/games-sound.c b/libgames-support/games-sound.c
index 26ebf8f..15aed72 100644
--- a/libgames-support/games-sound.c
+++ b/libgames-support/games-sound.c
@@ -164,8 +164,7 @@ games_sound_init (void)
/* Sounds don't sound good on Windows unless the buffer size is 4k,
* but this seems to cause strange behaviour on other systems,
* such as a delay before playing the sound. */
-#ifdef WIN32_NATIVE
-#define BUF_SIZE (4096)
+#ifdef G_OS_WIN32
const size_t buf_size = 4096;
#else
const size_t buf_size = 1024;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]