Add define _GNU_SOURCE for strerror_r 83/100583/2 accepted/tizen/3.0/common/20161129.103323 accepted/tizen/3.0/ivi/20161129.002315 accepted/tizen/3.0/mobile/20161129.002227 accepted/tizen/3.0/tv/20161129.002237 accepted/tizen/3.0/wearable/20161129.002300 submit/tizen_3.0/20161128.121939
authorHyunho Kang <hhstark.kang@samsung.com>
Mon, 28 Nov 2016 12:14:02 +0000 (21:14 +0900)
committerHyunho Kang <hhstark.kang@samsung.com>
Mon, 28 Nov 2016 12:15:17 +0000 (04:15 -0800)
Only GNU strerror_r return char *

Change-Id: Id9846081e457a61ab8b2d618d7a7bd828692a8ab
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
src/message-port.c

index 216dc5d..ac97f98 100755 (executable)
@@ -19,6 +19,7 @@
  * @file       message-port.cpp
  * @brief      This is the implementation file for the MessagePort.
  */
+#define _GNU_SOURCE
 
 #include <sys/socket.h>
 #include <stdlib.h>