File: compat.h

package info (click to toggle)
npadmin 0.8-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 524 kB
  • ctags: 792
  • sloc: cpp: 3,514; ansic: 1,176; sh: 327; makefile: 52
file content (15 lines) | stat: -rw-r--r-- 235 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "config.h"

extern "C" {

#ifndef HAVE_SNPRINTF
int snprintf ( char *str, size_t n, const char *format, ... );
#endif

#define CONST const
#define NOCONSTCAST

  // for HPUX
  //#define CONST
  //#define NOCONSTCAST (char*)
}