Changeset 327 for trunk/deushax


Ignore:
Timestamp:
Feb 1, 2011, 2:20:43 PM (11 years ago)
Author:
sam
Message:

Add all the bells and whistles needed for GTK+ compilation on Win32.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/deushax/gtk/editor.cpp

    r228 r327  
    99
    1010#include <cstdlib>
     11#if defined _WIN32
     12#   include <direct.h>
     13#endif
    1114
    1215#include <gtk/gtk.h>
     
    4043    /* Build the application interface */
    4144    GtkBuilder *builder = gtk_builder_new();
     45#if defined _WIN32
     46    _chdir(".."); /* Temporary Win32 hack */
     47#endif
    4248    if (!gtk_builder_add_from_file(builder, "deushax/gtk/editor.xml", NULL))
    4349    {
Note: See TracChangeset for help on using the changeset viewer.