[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/gui gnash.cpp sdl.cpp
From: |
Vitaly Alexeev |
Subject: |
[Gnash-commit] gnash/gui gnash.cpp sdl.cpp |
Date: |
Mon, 25 Sep 2006 09:06:21 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Vitaly Alexeev <alexeev> 06/09/25 09:06:21
Modified files:
gui : gnash.cpp sdl.cpp
Log message:
porting to win32
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gnash.cpp?cvsroot=gnash&r1=1.40&r2=1.41
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/sdl.cpp?cvsroot=gnash&r1=1.21&r2=1.22
Patches:
Index: gnash.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/gnash.cpp,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -b -r1.40 -r1.41
--- gnash.cpp 23 Sep 2006 15:13:09 -0000 1.40
+++ gnash.cpp 25 Sep 2006 09:06:21 -0000 1.41
@@ -43,6 +43,10 @@
#include "Player.h"
#include "log.h" // for dbglogfile (I hate this)
+#if defined(_WIN32) || defined(WIN32) //vv
+# include "getopt.h"
+#endif
+
#include <iostream>
Index: sdl.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/sdl.cpp,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- sdl.cpp 23 Sep 2006 15:06:53 -0000 1.21
+++ sdl.cpp 25 Sep 2006 09:06:21 -0000 1.22
@@ -48,6 +48,7 @@
#if defined(_WIN32) || defined(WIN32)
# define basename(x) x
+# include "getopt.h"
# ifndef _INC_WINDOWS
# define WINAPI __stdcall
@@ -200,7 +201,8 @@
{
GNASH_REPORT_FUNCTION;
- while ((c = getopt (argc, argv, "m:c")) != -1)
+ int c; //vv
+ while ((c = getopt (argc, *argv, "m:c")) != -1)
{
switch (c)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash/gui gnash.cpp sdl.cpp,
Vitaly Alexeev <=