-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
introduce zzip/__param.h to void using zzip/file.h
- Loading branch information
Showing
4 changed files
with
28 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#ifndef __ZZIP_INTERNAL_PARAM_H | ||
#define __ZZIP_INTERNAL_PARAM_H | ||
|
||
#include <zzip/conf.h> | ||
|
||
#ifdef ZZIP_HAVE_SYS_PARAM_H | ||
#include <sys/param.h> /* PATH_MAX */ | ||
#endif | ||
|
||
#ifndef PATH_MAX | ||
#ifdef MAX_PATH /* windows */ | ||
#define PATH_MAX MAX_PATH | ||
#else | ||
#define PATH_MAX 512 | ||
#endif | ||
#endif | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters