mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-11-04 10:08:56 +01:00 
			
		
		
		
	Include glibconfig.h before checking G_OS_WIN32.
2007-11-08 Matthias Clasen <mclasen@redhat.com> * gmodule.c: Include glibconfig.h before checking G_OS_WIN32. svn path=/trunk/; revision=5832
This commit is contained in:
		
				
					committed by
					
						
						Matthias Clasen
					
				
			
			
				
	
			
			
			
						parent
						
							6181cd47e2
						
					
				
				
					commit
					5d8a5657c5
				
			@@ -1,3 +1,7 @@
 | 
				
			|||||||
 | 
					2007-11-08  Matthias Clasen <mclasen@redhat.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						* gmodule.c: Include glibconfig.h before checking G_OS_WIN32.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
2007-11-07  Matthias Clasen <mclasen@redhat.com>
 | 
					2007-11-07  Matthias Clasen <mclasen@redhat.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	* *.c: Make header include order consistent (#71704,
 | 
						* *.c: Make header include order consistent (#71704,
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -29,6 +29,7 @@
 | 
				
			|||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "config.h"
 | 
					#include "config.h"
 | 
				
			||||||
 | 
					#include "glibconfig.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <errno.h>
 | 
					#include <errno.h>
 | 
				
			||||||
#include <string.h>
 | 
					#include <string.h>
 | 
				
			||||||
@@ -38,7 +39,7 @@
 | 
				
			|||||||
#ifdef HAVE_UNISTD_H
 | 
					#ifdef HAVE_UNISTD_H
 | 
				
			||||||
#include <unistd.h>
 | 
					#include <unistd.h>
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
#if defined (G_OS_WIN32)
 | 
					#ifdef G_OS_WIN32
 | 
				
			||||||
#include <io.h>		/* For open() and close() prototypes. */
 | 
					#include <io.h>		/* For open() and close() prototypes. */
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user