summaryrefslogtreecommitdiff
path: root/features/mkc_progname.h
blob: 7925e60b0a7a520c380cd280d23fafc0b2d36aef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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_