[GtkGLExt] wglinfo on Cygwin



Using the latest HEAD  98ffc0d8a3ac5eb5e62f30cdb90305e132d5fd4f
I cannot build the wglinfo  program in the examples directory.

Since it appears to be full of stuff specific to Windoze, I think
the following patch is appropriate:


diff --git a/examples/Makefile.am b/examples/Makefile.am
index 40378fd..a8beb6d 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -167,7 +167,7 @@ endif
 endif
 endif
 
-if PLATFORM_WIN32
+if USE_WIN32
 noinst_PROGRAMS += wglinfo
 wglinfo_SOURCES = wglinfo.c
 wglinfo_LDADD = $(GL_LIBS) $(WINDOWING_LIBS)


-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.


Attachment: signature.asc
Description: Digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]