View | Details | Raw Unified
Collapse All | Expand All

(-) /var/tmp/portage/x11-libs/wxGTK-2.8.9.1-r1/work/wxPython-src-2.8.9.1/include/wx/db.h (+5 lines)
 Lines 77-88    Link Here 
        // SQL headers define BOOL if it's not defined yet but BOOL is also
        // SQL headers define BOOL if it's not defined yet but BOOL is also
        // defined in many other places on other systems (Motif, at least on
        // defined in many other places on other systems (Motif, at least on
        // OpenVMS; Cocoa and X11) so prevent the problem by defining it before
        // OpenVMS; Cocoa and X11) so prevent the problem by defining it before
        // including these headers
        // including these headers
        #if defined(BOOL)
        #include <sql.h>
        #include <sqlext.h>
        #else
        #define BOOL int
        #define BOOL int
        #include <sql.h>
        #include <sql.h>
        #include <sqlext.h>
        #include <sqlext.h>
        #undef BOOL
        #undef BOOL
        #endif
    #endif // wxUSE_BUILTIN_IODBC/!wxUSE_BUILTIN_IODBC
    #endif // wxUSE_BUILTIN_IODBC/!wxUSE_BUILTIN_IODBC
    }
    }
#endif
#endif