Skip to content

Commit

Permalink
HACK msvc _MAX_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
ndim committed Feb 23, 2024
1 parent 28785d1 commit 0fa4d47
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/libavrdude.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
#error LIBAVRDUDE_INCLUDE_INTERNAL_HEADERS is defined. Do not do that.
#endif

/* required with msvc builds for _MAX_PATH? */
#include <stdlib.h>

#define LIBAVRDUDE_INCLUDE_INTERNAL_HEADERS
#include "libavrdude-avrintel.h"
#undef LIBAVRDUDE_INCLUDE_INTERNAL_HEADERS
Expand Down

0 comments on commit 0fa4d47

Please sign in to comment.