=======================================================================
*/
-#if GDEF_OS_LINUX || ( GDEF_OS_MACOS && !MAC_STATIC_HACK )
+#if GDEF_OS_LINUX || GDEF_OS_MACOS
#define USED
#include <unistd.h>
float len;
mesh_t out;
- /* ydnar: static for os x */
- MAC_STATIC bspDrawVert_t expand[MAX_EXPANDED_AXIS][MAX_EXPANDED_AXIS];
+ bspDrawVert_t expand[MAX_EXPANDED_AXIS][MAX_EXPANDED_AXIS];
out.width = in.width;
bspDrawVert_t prev, next, mid;
mesh_t out;
- /* ydnar: static for os x */
- MAC_STATIC bspDrawVert_t expand[ MAX_EXPANDED_AXIS ][ MAX_EXPANDED_AXIS ];
+ bspDrawVert_t expand[ MAX_EXPANDED_AXIS ][ MAX_EXPANDED_AXIS ];
/* initial setup */
vec3_t proj, dir;
mesh_t out;
- /* ydnar: static for os x */
- MAC_STATIC bspDrawVert_t expand[MAX_EXPANDED_AXIS][MAX_EXPANDED_AXIS];
+ bspDrawVert_t expand[MAX_EXPANDED_AXIS][MAX_EXPANDED_AXIS];
out.width = in->width;
vec3_t bounds[ 2 ];
byte *bordering;
- /* ydnar: mac os x fails with these if not static */
- MAC_STATIC parseMesh_t *meshes[ MAX_MAP_DRAW_SURFS ];
- MAC_STATIC qb_t grouped[ MAX_MAP_DRAW_SURFS ];
- MAC_STATIC byte group[ MAX_MAP_DRAW_SURFS ];
+ parseMesh_t *meshes[ MAX_MAP_DRAW_SURFS ];
+ qb_t grouped[ MAX_MAP_DRAW_SURFS ];
+ byte group[ MAX_MAP_DRAW_SURFS ];
/* note it */
------------------------------------------------------------------------------- */
-#define MAC_STATIC_HACK 0
-#if GDEF_OS_MACOS && MAC_STATIC_HACK
- #define MAC_STATIC static
-#else
- #define MAC_STATIC
-#endif
-
#if 1
#if GDEF_OS_WINDOWS
#define Q_stricmp stricmp