OSDN Git Service

Define strdupa if it is not defined
authorChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 10 Jan 2019 08:44:38 +0000 (16:44 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 10 Jan 2019 08:44:38 +0000 (16:44 +0800)
commit7bfd697ef20980c875097e0128dc89b6085b9371
treeb730b26b82cfb031914661ee806e97b77403dc48
parent8f803791a1c97a4d1bce049264218a94c46d7838
Define strdupa if it is not defined

Android does not include strdupa in <string.h>. Define strdupa if it has
not already been defined.

Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
src/util.h