projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't link wxBase against GUI libraries
[wxWidgets.git]
/
src
/
unix
/
baseunix.cpp
diff --git
a/src/unix/baseunix.cpp
b/src/unix/baseunix.cpp
index ef7f1e1f9d20fd5362ec17e57ee93a601b9b92b6..99a1bdcd3e8865ce636a921e5c60021ecbe41da6 100644
(file)
--- a/
src/unix/baseunix.cpp
+++ b/
src/unix/baseunix.cpp
@@
-30,6
+30,7
@@
#endif //WX_PRECOMP
#include "wx/apptrait.h"
#endif //WX_PRECOMP
#include "wx/apptrait.h"
+#include "wx/utils.h"
#include "wx/unix/execute.h"
// for waitpid()
#include "wx/unix/execute.h"
// for waitpid()
@@
-94,7
+95,7
@@
int wxConsoleAppTraits::GetOSVersion(int *verMaj, int *verMin)
int major, minor;
char name[256];
int major, minor;
char name[256];
- if ( sscanf(WXWIN_OS_DESCRIPTION, "%s %d.%d", name, &major, &minor) != 3 )
+ if ( sscanf(WXWIN_OS_DESCRIPTION, "%
255
s %d.%d", name, &major, &minor) != 3 )
{
// unreckognized uname string format
major =
{
// unreckognized uname string format
major =