[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/libmedia AudioDecoderNellymoser.cpp
From: |
Dossy Shiobara |
Subject: |
[Gnash-commit] gnash/libmedia AudioDecoderNellymoser.cpp |
Date: |
Sat, 22 Mar 2008 02:34:37 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Dossy Shiobara <dossy> 08/03/22 02:34:37
Modified files:
libmedia : AudioDecoderNellymoser.cpp
Log message:
Win32 doesn't have random() and srandom() but does have
rand() and srand().
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/libmedia/AudioDecoderNellymoser.cpp?cvsroot=gnash&r1=1.11&r2=1.12
Patches:
Index: AudioDecoderNellymoser.cpp
===================================================================
RCS file: /sources/gnash/gnash/libmedia/AudioDecoderNellymoser.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- AudioDecoderNellymoser.cpp 5 Mar 2008 03:55:53 -0000 1.11
+++ AudioDecoderNellymoser.cpp 22 Mar 2008 02:34:37 -0000 1.12
@@ -52,6 +52,11 @@
#include <cmath>
#include "VM.h"
+#ifdef _WIN32
+#define random rand
+#define srandom srand
+#endif
+
namespace gnash {
namespace media {
- [Gnash-commit] gnash/libmedia AudioDecoderNellymoser.cpp,
Dossy Shiobara <=