crux-musl

Unnamed repository; edit this file 'description' to name the repository.
git clone https://codeberg.org/emmett1/crux-musl
Log | Files | Refs | README | LICENSE

musl-long_long_min_max.patch (463B)


      1 Add definitions for LONG_LONG_MIN and _MAX derived
      2 from the values for int64_t.
      3 
      4 --- a/resize_reiserfs/resize_reiserfs.c
      5 +++ b/resize_reiserfs/resize_reiserfs.c
      6 @@ -15,6 +15,13 @@
      7  #include "resize.h"
      8  #include <limits.h>
      9  
     10 +#if !defined(__GLIBC__)
     11 +/* These are not defined in musl libc */
     12 +#include <stdint.h>
     13 +#define LONG_LONG_MIN INT64_MIN
     14 +#define LONG_LONG_MAX INT64_MAX
     15 +#endif
     16 +
     17  static int opt_banner = 0;
     18  static int opt_skipj = 0;
     19  int opt_force = 0;