[CF-Devel] Suspicous looking macro definition in WIN32 code

crossfire-devel at archives.real-time.com crossfire-devel at archives.real-time.com
Sun Sep 19 11:50:30 CDT 2004


There is a suspicious looking macro definition in gtk/win32/config.h in
the client repository:

    #define S_ISDIR(x) (x && _S_IFDIR)

I presume, the definition should be

    #define S_ISDIR(x) (((x) & S_IFMT) == S_IFDIR)

(That is, the same as in include/win32.h in the server repository.)

Can someone with with access to a windows compiler verify (and possibly
fix) it?

_______________________________________________
crossfire-devel mailing list
     
     crossfire-devel at lists.real-time.com
     
     
     https://mailman.real-time.com/mailman/listinfo/crossfire-devel
     
     
    


More information about the crossfire mailing list