Skip to content
  • Tor Lillqvist's avatar
    This might seem like a large patch, but it isn't that bad, and nothing · c65508d2
    Tor Lillqvist authored
    should break on Unix/X11.
    
    Win32 merge and general portability stuff:
    
    * acconfig.h,configure.in: Check for <sys/time.h>.
    
    * gdk/win32: New directory (actually, been there for a while).
    
    * gtk/fnmatch.c: Include <glib.h> for G_DIR_SEPARATOR, WIN32 and
    NATIVE_WIN32, and use these. Always case fold on Win32. No
    backslashed escapes on native Win32.
    
    * gtk/{gtk.def,makefile.msc}: New files.
    
    * gtk/Makefile.am: Add above new files.
    
    * gtk/{gtkaccelgroup,gtkbindings}.c: Include <string.h>
    instead of <strings.h>.
    
    * gtk/{gtkcalendar,gtkitemfactory,gtkpreview,gtkrc}.c: Include
    config.h. Protect inclusion of <sys/param.h>, <sys/time.h>, and
    <unistd.h> appropriately.
    
    * gtk/gtkdnd.c: Merge in Win32 version (which doesn't do much).
    Use ABS() (from <glib.h>) instead of abs().
    
    * gtk/gtkfilesel.c: Moved Win32-specific includes after inclusion
    of gtk (and thus glib) headers, so that WIN32 will be
    defined. With MS C, include <direct.h> for mkdir proto...
    c65508d2
To find the state of this project's repository at the time of any of these versions, check out the tags.