Skip to content

Commit

Permalink
PATH_MAX_SIZE redefined.
Browse files Browse the repository at this point in the history
  • Loading branch information
cdominguezm committed Jul 12, 2016
1 parent 0306afb commit d105570
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion include/dmfsnmp.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,12 @@
*/
#define YES "yes"
#define DEFAULT_CAPACITY 16
#define PATH_MAX_SIZE 4096

#ifdef PATH_MAX
#define PATH_MAX_SIZE PATH_MAX
#else
#define PATH_MAX_SIZE 1024
#endif

/* Recognized DMF XML tags */
#define DMFTAG_NUT "nut"
Expand Down

0 comments on commit d105570

Please sign in to comment.