Skip to content

Commit ceafc53

Browse files
committed
Define mode_t for Windows.
1 parent 1e48781 commit ceafc53

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

cups/cups-private.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727
# ifdef __cplusplus
2828
extern "C" {
2929
# endif // __cplusplus
30+
# ifdef _WIN32
31+
typedef int mode_t; // Windows doesn't support mode_t type @private@
32+
# endif // _WIN32
3033

3134

3235
//

0 commit comments

Comments
 (0)