0032308: Configuration - make Xlib dependency optional
[occt.git] / src / Aspect / Aspect_FBConfig.hxx
index bbed1e4..8330995 100644 (file)
 #ifndef _Aspect_FBConfig_HeaderFile
 #define _Aspect_FBConfig_HeaderFile
 
 #ifndef _Aspect_FBConfig_HeaderFile
 #define _Aspect_FBConfig_HeaderFile
 
-#if !defined(_WIN32) && (!defined(__APPLE__) || defined(MACOSX_USE_GLX)) && !defined(__ANDROID__) && !defined(__QNX__) && !defined(__EMSCRIPTEN__)
-  typedef struct __GLXFBConfigRec* GLXFBConfig;
-  typedef GLXFBConfig Aspect_FBConfig; // GLXFBConfig* under UNIX
-#else
-  typedef void* Aspect_FBConfig;       // unused on other systems
-#endif
+typedef struct __GLXFBConfigRec* GLXFBConfig;
+typedef GLXFBConfig Aspect_FBConfig;
 
 #endif // _Aspect_FBConfig_HeaderFile
 
 #endif // _Aspect_FBConfig_HeaderFile