minor fix on CMakeLists for checking MSVC_VERSION
[freeglut] / src / x11 / fg_window_x11.c
index ce4a52e..90f1966 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * freeglut_window_x11.c
+ * fg_window_x11.c
  *
  * Window management methods for X11
  *
 #include "x11/fg_window_x11_glx.h"
 #endif
 
+#ifndef HOST_NAME_MAX
+#define HOST_NAME_MAX  255
+#endif
+
 /* Motif window hints, only define needed ones */
 typedef struct
 {