X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=nucleus%2Flibrary%2Fapplication%2Fwindoze_helper.h;h=9a149a4193229836928d8a993bf1200515123d90;hb=6f4f86051d7e4ad4755152503098bbb3888e4aad;hp=3da874538d22c3ca89f5b4442d54cd7313e15854;hpb=24b2947ed9364f3e83fa1bb544ff6b1fdbf0428f;p=feisty_meow.git diff --git a/nucleus/library/application/windoze_helper.h b/nucleus/library/application/windoze_helper.h index 3da87453..9a149a41 100644 --- a/nucleus/library/application/windoze_helper.h +++ b/nucleus/library/application/windoze_helper.h @@ -23,12 +23,12 @@ // gnarly headers that are needed for certain types of compilation... //unix headers not needed in here for new purpose of file. -#ifndef _MSC_VER +//#ifndef _MSC_VER #include #ifdef __GNU_WINDOWS__ #include #endif -#endif +//#endif #ifndef NO_XWINDOWS #ifdef __XWINDOWS__ #include @@ -42,12 +42,13 @@ #define STRICT #endif // winsock support... - #undef FD_SETSIZE - #define FD_SETSIZE 1000 +// #undef FD_SETSIZE +// #define FD_SETSIZE 1000 // if you don't set this, you can only select on a default of 64 sockets. - #include +// #include + // windows headers... - #define _WINSOCKAPI_ // make windows.h happy about winsock. +//noooo #define _WINSOCKAPI_ // make windows.h happy about winsock. #ifndef _AFXDLL // include ms-windows headers only if we're not doing mfc; mfc has its own // special way of including the headers. @@ -140,9 +141,9 @@ namespace application { -// istring module_name(const void *module_handle = NIL); +// istring module_name(const void *module_handle = NULL_POINTER); //!< returns the name of the module for the "module_handle" where supported. - /*!< if the handle is NIL, then the program name is returned. */ + /*!< if the handle is NULL_POINTER, then the program name is returned. */ // u_int system_error(); @@ -216,7 +217,9 @@ namespace application { #define BROADCAST_HANDLE HWND_BROADCAST enum known_operating_systems { - WIN_95, WIN_NT, WIN_2K, WIN_XP, WIN_SRV2K3, WIN_VISTA, WIN_SRV2K8, + WIN_95, WIN_NT, WIN_2K, WIN_XP, WIN_SRV2K3, WIN_VISTA, +///WIN_SRV2K8, + WIN_7, WIN_8, WIN_10, UNKNOWN_OS }; const char *opsystem_name(known_operating_systems which);