summaryrefslogtreecommitdiffstats
path: root/src/PatchageEvent.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-07 20:29:22 +0000
committerDavid Robillard <d@drobilla.net>2011-11-07 20:29:22 +0000
commit07b939c6fac09078370634df7c06e3b1babf486b (patch)
tree86e118b7dc611b9f96e7165eae9d14ff55293a87 /src/PatchageEvent.hpp
parentaa179d14d359f76a7ad4d827ca6707c5cba46763 (diff)
downloadpatchage-07b939c6fac09078370634df7c06e3b1babf486b.tar.gz
patchage-07b939c6fac09078370634df7c06e3b1babf486b.tar.bz2
patchage-07b939c6fac09078370634df7c06e3b1babf486b.zip
Remove use of non-portable _XOPEN_SOURCE and strdup.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3604 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/PatchageEvent.hpp')
-rw-r--r--src/PatchageEvent.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PatchageEvent.hpp b/src/PatchageEvent.hpp
index 2f97eec..1b13a94 100644
--- a/src/PatchageEvent.hpp
+++ b/src/PatchageEvent.hpp
@@ -55,7 +55,7 @@ public:
{}
PatchageEvent(Type type, const char* str)
- : _str(strdup(str))
+ : _str(g_strdup(str))
, _type(type)
{}