Skip to content

Commit

Permalink
minicargo: add comment about major() and minor()
Browse files Browse the repository at this point in the history
  • Loading branch information
realchonk committed Jan 29, 2025
1 parent 1ea872f commit 28007ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/minicargo/manifest.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
#include <path.h>

#ifdef __OpenBSD__
// major() and minor() are defined as macros in <sys/types.h> on OpenBSD
// see: https://man.openbsd.org/major.3
# undef major
# undef minor
#endif
Expand Down

0 comments on commit 28007ff

Please sign in to comment.