Don't force compile everything as Objective-C++ on macOS

This commit is contained in:
Michael Maltese
2016-09-18 17:22:39 -07:00
parent 4c004b6dc9
commit cd19c9fa22
13 changed files with 89 additions and 133 deletions

View File

@ -4,8 +4,11 @@
#pragma once
#ifdef __APPLE__
#if defined(__APPLE__) && defined(__OBJC__)
#import <AppKit/AppKit.h>
#else
struct NSOpenGLContext;
struct NSView;
#endif
#include "Common/GL/GLInterfaceBase.h"