summaryrefslogtreecommitdiff
path: root/features/mkc_progname.h
diff options
context:
space:
mode:
Diffstat (limited to 'features/mkc_progname.h')
-rw-r--r--features/mkc_progname.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/features/mkc_progname.h b/features/mkc_progname.h
new file mode 100644
index 0000000..7925e60
--- /dev/null
+++ b/features/mkc_progname.h
@@ -0,0 +1,26 @@
+/********************************************************************\
+ Copyright (c) 2014 by Aleksey Cheusov
+
+ See LICENSE file in the distribution.
+\********************************************************************/
+
+#ifndef _MKC_PROGNAME_H_
+#define _MKC_PROGNAME_H_
+
+#ifdef MKC_PROGNAME_IS_FINE
+
+#include <stdlib.h>
+
+#else
+
+#if !HAVE_FUNC1_SETPROGNAME_STDLIB_H
+void setprogname (const char *progname);
+#endif
+
+#if !HAVE_FUNC0_GETPROGNAME_STDLIB_H
+const char * getprogname (void);
+#endif
+
+#endif /* MKC_PROGNAME_IS_FINE */
+
+#endif // _MKC_PROGNAME_H_