DEADSOFTWARE

Add some checks
[nanogl.git] / GL / glesinterface.h
index e6e2d45e9eda468487e71f584ae68ea6055f010e..e8d42daea83648b32b6ca58e4ed672bca8a0aaf8 100644 (file)
@@ -28,11 +28,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
     #endif
 #endif
 
+#ifdef SOFTFP_LINK
 #define S __attribute__((pcs("aapcs")))
+#else
+#define S
+#endif
 
 struct GlESInterface
     {
-
     int (*eglChooseConfig) (int dpy, const int *attrib_list, int *configs, int config_size, int *num_config) S;
        int (*eglCopyBuffers) (int dpy, int surface, void* target) S;
     int (*eglCreateContext) (int dpy, int config, int share_list, const int *attrib_list) S;