Browse Source

libarchive: Remove a system preprocessor macro that conflicts with a local var

On SunOS i386, the system headers sometimes define macro names
corresponding to register names, short and with no prefix.
Undefine one that conflicts with our code.
Brad King 3 years ago
parent
commit
3ba324b6b6
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Utilities/cmlibarchive/libarchive/archive_blake2sp_ref.c

+ 3 - 0
Utilities/cmlibarchive/libarchive/archive_blake2sp_ref.c

@@ -28,6 +28,9 @@
 
 
 #define PARALLELISM_DEGREE 8
 #define PARALLELISM_DEGREE 8
 
 
+/* Remove system-defined preprocessor defintions that conflict with us.  */
+#undef FS
+
 /*
 /*
   blake2sp_init_param defaults to setting the expecting output length
   blake2sp_init_param defaults to setting the expecting output length
   from the digest_length parameter block field.
   from the digest_length parameter block field.