Is there any macros in DarkGDK like this:

#ifdef __DARKGDK_WINDOWS
        #include "MY_WINDOWS_HEADER.h"
#else
        #include "MY_LINUX_HEADER.h"
#endif

any help would be appreciated, thanks in advance!

Recommended Answers

All 6 Replies

Maybe, why not do a search for #ifdef on all the library header files?

how do i do that?

How?

Right-click on a folder, select search ....
This is easy, you should know this already.

How?

Right-click on a folder, select search ....
This is easy, you should know this already.

It says the search can not be completed because the folder is not indexed?

I can't help you with your broken OS / IDE :(

go to a dos prompt (start, run, cmd) go to your DarkGDK include folder (cd \program files\DarkGDK\Include) probably, and do for %x in (*) do type %x | find /i "#define" >>c:\outputfile.txt . Then, double click my computer, double click C: drive, double click "outputfile.txt", and read it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.