Hartmut Schirmer escribió:
On Mon, 09 Apr 2001, Mariano Alvarez Fernandez wrote:
- Have you success to compile GRX with MS-VC?
YES. i set up dsp's and a dsw and all worked fine. I´ll post them when they're finished or before I leave in easter vacations :)
Ok, I will wait for your final patch.
- About the line:
! #if !defined(user_time) && ( defined(unix) || defined(__WIN32__) || defined(_WIN32) )
Doesn't MS-VC define __WIN32__? If not, there are some other places to change, like ftable.c. But I think is better to define __WIN32__ when _WIN32 is defined in grx20.h.
I added something like
#if !defined(__WIN32__) && defined(_WIN32) #define __WIN32__ _WIN32 #endif
to libgrx.h, no need to make it public visible.
Well, it needs to be visible, because this construction in all the test programs:
#if defined(__WIN32__) int GRXMain(void) #else int main(void) #endif