]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Define mode_t for Windows.
authorMichael R Sweet <msweet@msweet.org>
Wed, 4 Sep 2024 16:09:20 +0000 (12:09 -0400)
committerMichael R Sweet <msweet@msweet.org>
Wed, 4 Sep 2024 16:09:20 +0000 (12:09 -0400)
cups/cups-private.h

index 0f66e7ce1dd6349ce2a08f9d2cacba79e2d868ac..98c7aa2c262dfb3dba26a5ee1caf7cfbb4dbfd42 100644 (file)
@@ -26,6 +26,9 @@
 #  ifdef __cplusplus
 extern "C" {
 #  endif // __cplusplus
+#  ifdef _WIN32
+typedef int mode_t;                    // Windows doesn't support mode_t type @private@
+#  endif // _WIN32
 
 
 //