mirror of
https://github.com/weechat/weechat.git
synced 2026-06-27 05:16:38 +02:00
core: fix some compilation problems on SmartOS
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
* this define is needed for strptime()
|
||||
* but is not used for OpenBSD, it causes bug with gcrypt (see bug #37373)
|
||||
*/
|
||||
#if !defined(__OpenBSD__)
|
||||
#if !defined(__OpenBSD__) && !defined(__sun)
|
||||
#define _XOPEN_SOURCE 700
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user