X-Git-Url: https://git.tcpdump.org/libpcap/blobdiff_plain/bcf5876ff95461a114bd75ca468a6ecd94193878..895ff3ad146837eef8a5321cacd3cf15a3a329e4:/ftmacros.h diff --git a/ftmacros.h b/ftmacros.h index 3cd75056..7975463b 100644 --- a/ftmacros.h +++ b/ftmacros.h @@ -45,7 +45,12 @@ * namespace to the maximum extent possible"? */ #if defined(sun) || defined(__sun) - #define __EXTENSIONS__ + /* + * On Solaris Clang defines __EXTENSIONS__ automatically. + */ + #ifndef __EXTENSIONS__ + #define __EXTENSIONS__ + #endif /* * We also need to define _XPG4_2 in order to get