koct9i / ioping

simple disk I/0 latency measuring tool
GNU General Public License v3.0
947 stars 76 forks source link

Correct Solaris predefined macro #36

Closed lewellyn closed 7 years ago

lewellyn commented 7 years ago

The correct predefined macro to use on Solaris is __sun, not __sun__. Compiling with Sun C ("Studio") fails with __sun__.

As an aside, my CLFAGS were: -lm -xc99=all