"shader.c" don't compile under Solaris 8/9 x86 (gcc), because some math functions like (logf,sqrtf,floorf,powf), are missing, maybe a better solution will be include a check under configure script ... ChangeLog Add some math functions re-defines needed for Solaris Index: dlls/d3d8/shader.c =================================================================== --- wine-20030219_ORG/dlls/d3d8/shader.c 2003-01-28 01:12:23 +++ wine-20030219/dlls/d3d8/shader.c 2003-02-22 17:17:22 @@ -24,6 +24,13 @@ #include "wingdi.h" #include "wine/debug.h" +#if defined(__sun) || defined(__sun__) +static inline float logf (float x) { return log (x); } +static inline float sqrtf (float x) { return sqrt (x); } +static inline float floorf (float x) { return floor (x); } +static inline float powf (float x, float y) { return pow (x,y); } +#endif + #include <math.h> #include "d3d8_private.h" --------------------------------------------------------------- Carlos Almeida cfsalmeida@netcabo.pt