This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=9292e0994c7397df34ddb77273e641abfd32e41a

commit 9292e0994c7397df34ddb77273e641abfd32e41a (HEAD -> main)
Author: Guillem Jover <[email protected]>
AuthorDate: Tue Feb 25 05:25:47 2025 +0100

    s-s-d: Move Solaris _FILE_OFFSET_BITS undef after other header setup macros
    
    These belong together.
    
    Changelog: internal
---
 utils/start-stop-daemon.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/utils/start-stop-daemon.c b/utils/start-stop-daemon.c
index 861d77a33..805110046 100644
--- a/utils/start-stop-daemon.c
+++ b/utils/start-stop-daemon.c
@@ -21,10 +21,6 @@
  */
 
 #include <config.h>
-/* On at least Solaris <= 11.3 procfs is not compatible with LFS. */
-#if !DPKG_STRUCTURED_PROCFS_SUPPORTS_LFS
-#undef _FILE_OFFSET_BITS
-#endif
 
 #if defined(__linux__)
 #  define OS_Linux
@@ -58,6 +54,11 @@
 #define _STRUCTURED_PROC 1
 #endif
 
+/* On at least Solaris <= 11.3 procfs is not compatible with LFS. */
+#if !DPKG_STRUCTURED_PROCFS_SUPPORTS_LFS
+#undef _FILE_OFFSET_BITS
+#endif
+
 #include <compat.h>
 
 #include <dpkg/macros.h>

-- 
Dpkg.Org's dpkg

Reply via email to