Added -D_GNU_SOURCE flag for strdup.
This commit is contained in:
parent
fdccf7b7af
commit
886e0b5217
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
cmake_minimum_required(VERSION 2.8.7)
|
||||
|
||||
project(tox-weechat)
|
||||
add_definitions(-std=c99)
|
||||
add_definitions(-std=c99 -D_GNU_SOURCE)
|
||||
|
||||
add_library(tox SHARED
|
||||
src/tox-weechat.c
|
||||
|
|
Loading…
Reference in a new issue