rogue poser
2009-05-29 20:31:36
LINKING PROBLEM
im running vista and using devc++
#ifdef WINDOWS does not work on my machine for some odd reason, and it must be
"#ifdef WIN32"
im not quite sure why it does that but ill look into it, now that means all the definitions in the library are not working for me…
here is an example
the previous code produces the else portion of the definition if the WINDOWS handle is not changed to WIN32… is there a fix other than changing all the def handles?
is this a known issure with vista?
im gonna try to run it with an xp vm, will get back on this one
im running vista and using devc++
#ifdef WINDOWS does not work on my machine for some odd reason, and it must be
"#ifdef WIN32"
im not quite sure why it does that but ill look into it, now that means all the definitions in the library are not working for me…
here is an example
#ifndef _OS_H_
#define _OS_H_
#ifdef WINDOWS
#include <windows.h>
#define IMAGE HBITMAP
#else
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/keysymdef.h>
#include <X11/extensions/XTest.h>
#include <unistd.h>
#include <dlfcn.h>
#include <stdlib.h>
the previous code produces the else portion of the definition if the WINDOWS handle is not changed to WIN32… is there a fix other than changing all the def handles?
is this a known issure with vista?
im gonna try to run it with an xp vm, will get back on this one