mirror of
https://github.com/weechat/weechat.git
synced 2026-07-05 17:23:15 +02:00
core: fix some compilation problems on SmartOS
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* this define is needed for strptime() (not on OpenBSD) */
|
||||
#if !defined(__OpenBSD__)
|
||||
/* this define is needed for strptime() (not on OpenBSD/Sun) */
|
||||
#if !defined(__OpenBSD__) && !defined(__sun)
|
||||
#define _XOPEN_SOURCE 700
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user