diff options
author | Adam Jackson <[email protected]> | 2005-02-08 05:46:53 +0000 |
---|---|---|
committer | Adam Jackson <[email protected]> | 2005-02-08 05:46:53 +0000 |
commit | d084982240bafba0169c4a6cacf02d45d6cfd8c1 (patch) | |
tree | 691f990d4581a5367599bc44718d12303b27da87 /src | |
parent | 4885a9eb207655ac23b64274034e1d51d2c8e6ce (diff) |
Bug #2477: Make GLU/GLw/glut build properly even with -fvisibility=hidden.
Diffstat (limited to 'src')
-rw-r--r-- | src/glw/GLwDrawA.h | 4 | ||||
-rw-r--r-- | src/glw/GLwDrawAP.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/glw/GLwDrawA.h b/src/glw/GLwDrawA.h index a62852c260f..4a381ac38cc 100644 --- a/src/glw/GLwDrawA.h +++ b/src/glw/GLwDrawA.h @@ -182,9 +182,9 @@ extern void GLwDrawingAreaSwapBuffers(Widget w); #ifdef __GLX_MOTIF #ifdef _NO_PROTO -extern Widget GLwCreateMDrawingArea(); +GLAPI extern Widget GLwCreateMDrawingArea(); #else -extern Widget GLwCreateMDrawingArea(Widget parent,char *name,ArgList arglist,Cardinal argcount); +GLAPI extern Widget GLwCreateMDrawingArea(Widget parent,char *name,ArgList arglist,Cardinal argcount); #endif #endif diff --git a/src/glw/GLwDrawAP.h b/src/glw/GLwDrawAP.h index f1217019541..031531b7e6e 100644 --- a/src/glw/GLwDrawAP.h +++ b/src/glw/GLwDrawAP.h @@ -59,7 +59,7 @@ typedef struct _GLwMDrawingAreaClassRec { } GLwMDrawingAreaClassRec; -extern GLwMDrawingAreaClassRec glwMDrawingAreaClassRec; +GLAPI extern GLwMDrawingAreaClassRec glwMDrawingAreaClassRec; /* XT */ |