]> granicus.if.org Git - curl/commit
system.h: use proper setting with Sun C++ as well
authorrandomswdev <randomswdev@users.noreply.github.com>
Sat, 27 Oct 2018 13:28:59 +0000 (15:28 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 27 Oct 2018 14:07:24 +0000 (16:07 +0200)
commit9d8dad1a9d79d60e021f0c4e0f66bf5d51fb3c4e
tree4d4f1ac96e376e3422ed714e8cf3b6507a354cf7
parent75b94d77e8daedbe56249abfd2652cbbfcd08958
system.h: use proper setting with Sun C++ as well

system.h selects the proper Sun settings when __SUNPRO_C is defined. The
Sun compiler does not define it when compiling C++ files.  I'm adding a
check also on __SUNPRO_CC to allow curl to work properly also when used
in a C++ project on Sun Solaris.

Closes #3181
include/curl/system.h