10 #if MYGUI_PLATFORM == MYGUI_PLATFORM_WIN32
12 #elif MYGUI_PLATFORM == MYGUI_PLATFORM_LINUX
33 #if MYGUI_PLATFORM == MYGUI_PLATFORM_APPLE
47 #if MYGUI_PLATFORM == MYGUI_PLATFORM_APPLE
59 #if MYGUI_PLATFORM == MYGUI_PLATFORM_APPLE
69 #if MYGUI_PLATFORM == MYGUI_PLATFORM_WIN32
72 FORMAT_MESSAGE_ALLOCATE_BUFFER |
73 FORMAT_MESSAGE_FROM_SYSTEM |
74 FORMAT_MESSAGE_IGNORE_INSERTS,
77 MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
81 std::string ret = (
char*)lpMsgBuf;
83 LocalFree( lpMsgBuf );
86 return "no unix error function defined yet";