Mercurial > projects > sencrypt
comparison sencrypt.c @ 4:abb770754967
Use C99-compatible version of snprintf on UnixWare 7
author | Guido Berhoerster <guido+sencrypt@berhoerster.name> |
---|---|
date | Sun, 13 Apr 2014 00:04:04 +0200 |
parents | f230c550e261 |
children | cc930aa0f3c2 |
comparison
equal
deleted
inserted
replaced
3:f230c550e261 | 4:abb770754967 |
---|---|
40 #ifdef HAVE_ERR_H | 40 #ifdef HAVE_ERR_H |
41 #include <err.h> | 41 #include <err.h> |
42 #else | 42 #else |
43 #include "err.h" | 43 #include "err.h" |
44 #endif /* HAVE_ERR_H */ | 44 #endif /* HAVE_ERR_H */ |
45 #include "compat.h" | |
45 | 46 |
46 #define MAX(a, b) (((a) > (b)) ? (a) : (b)) | 47 #define MAX(a, b) (((a) > (b)) ? (a) : (b)) |
47 | 48 |
48 #define EXIT_USAGE 2 | 49 #define EXIT_USAGE 2 |
49 | 50 |