mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
0024312: Compilation issues on OS X 10.9 Maverics SDK
Update glext.h. Fix compiler errors.
This commit is contained in:
parent
aa65144716
commit
9293178ba0
@ -173,7 +173,7 @@ void BinLDrivers_DocumentStorageDriver::Write
|
||||
#if defined(_DEBUG) || defined(DEB)
|
||||
WriteMessage (anErrorStr + aMethStr +
|
||||
"Problem with the file stream, rdstate="
|
||||
+ anOS.rdstate());
|
||||
+ (Standard_Integer )anOS.rdstate());
|
||||
#else
|
||||
TCollection_ExtendedString aStr =
|
||||
anErrorStr + aMethStr + "Problem writing the file ";
|
||||
|
@ -35,6 +35,6 @@
|
||||
#define EXPORT
|
||||
#endif
|
||||
|
||||
#endif InterfaceGraphic_CocoaHeader
|
||||
#endif // InterfaceGraphic_CocoaHeader
|
||||
|
||||
#endif // __APPLE__
|
||||
|
@ -596,7 +596,7 @@ static void APIENTRY debugCallbackWrap(unsigned int theSource,
|
||||
unsigned int theSeverity,
|
||||
int /*theLength*/,
|
||||
const char* theMessage,
|
||||
void* theUserParam)
|
||||
const void* theUserParam)
|
||||
{
|
||||
OpenGl_Context* aCtx = (OpenGl_Context* )theUserParam;
|
||||
aCtx->PushMessage (theSource, theType, theId, theSeverity, theMessage);
|
||||
|
19461
src/OpenGl/glext.h
19461
src/OpenGl/glext.h
File diff suppressed because it is too large
Load Diff
@ -93,7 +93,6 @@
|
||||
#endif
|
||||
#elif defined(__APPLE__) && !defined(MACOSX_USE_GLX)
|
||||
#include <Cocoa_Window.hxx>
|
||||
#include <tk.h>
|
||||
#else
|
||||
#include <Xw_Window.hxx>
|
||||
#include <X11/Xlib.h> /* contains some dangerous #defines such as Status, True etc. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user