Location problem on non Linux systems.
parent
2d79efc0c5
commit
ad985af763
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue