server/src/util/path.h
Enno Rehling 230a2d8fba do not use macros for va_copy, which is available from C99 on and with gcc >= 3.0.
this somehow eliminates bogus cppcheck warnings
2019-03-03 09:41:15 +01:00

10 lines
231 B
C

#pragma once
#include <stddef.h>
#ifndef PATH_MAX
/* @see https://insanecoding.blogspot.no/2007/11/pathmax-simply-isnt.html */
#define PATH_MAX 260
#endif
char * path_join(const char *p1, const char *p2, char *dst, size_t len);