summaryrefslogtreecommitdiff
path: root/dln.h
diff options
context:
space:
mode:
Diffstat (limited to 'dln.h')
-rw-r--r--dln.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/dln.h b/dln.h
index 7e3ab9fabb..940d82c414 100644
--- a/dln.h
+++ b/dln.h
@@ -13,13 +13,11 @@
#ifndef DLN_H
#define DLN_H
-#ifndef _
-#ifndef __STDC__
-# define _(args) ()
-# define const
-#else
+#undef _
+#ifdef HAVE_PROTOTYPES
# define _(args) args
-#endif
+#else
+# define _(args) ()
#endif
char *dln_find_exe _((const char*,const char*));