Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: sethjackson on March 14, 2006, 09:17:59 pm

Title: src\appglobals.cpp
Post by: sethjackson on March 14, 2006, 09:17:59 pm
Is ther a reason that in the operating_system_t enum FreeBSD is oxFreeBSD?

I have a patch that changes it to osFreeBSD.

Code: diff
Index: src/src/appglobals.cpp
===================================================================
--- src/src/appglobals.cpp (revision 2191)
+++ src/src/appglobals.cpp (working copy)
@@ -49,7 +49,7 @@
 operating_system_t __cb_get_os()
 {
 #if defined(__FreeBSD__)
-    return oxFreeBSD;
+    return osFreeBSD;
 #elif defined(__UNIX__)
     return osLinux;
 #elif defined(__WXMAC__)
Index: src/src/appglobals.h
===================================================================
--- src/src/appglobals.h (revision 2191)
+++ src/src/appglobals.h (working copy)
@@ -28,7 +28,7 @@
 osWindows9598ME,
 osWindowsNT2000,
 osWindowsXP,
-oxFreeBSD,
+osFreeBSD,
 osLinux,
 osOS2,
 osOSX

Title: Re: src\appglobals.cpp
Post by: killerbot on March 14, 2006, 09:40:22 pm
I think this is a typo, I have fixed it accordingly.
Thanks Seth for pointing this out.