Location problem on non Linux systems.

master
Julian M. Kunkel 2020-11-06 09:30:59 +00:00
parent 2d79efc0c5
commit ad985af763
1 changed files with 0 additions and 6 deletions

View File

@ -30,13 +30,7 @@ extern enum OutputFormat_t outputFormat; /* format of the output */
* Try using the system's PATH_MAX, which is what realpath and such use.
*/
#define MAX_PATHLEN PATH_MAX
#ifdef __linux__
#define ERROR_LOCATION __func__
#else
#define ERROR_LOCATION __LINE__
#endif
void* safeMalloc(uint64_t size);