libphobos: Fix assert in core.sys.posix.sys.stat for aarch64/ilp32.
authorIain Buclaw <ibuclaw@gcc.gnu.org>
Wed, 24 Apr 2019 11:04:22 +0000 (11:04 +0000)
committerIain Buclaw <ibuclaw@gcc.gnu.org>
Wed, 24 Apr 2019 11:04:22 +0000 (11:04 +0000)
Merges upstream druntime 51365217.

Reviewed-on: https://github.com/dlang/druntime/pull/2579

From-SVN: r270541

libphobos/libdruntime/MERGE
libphobos/libdruntime/core/sys/posix/sys/stat.d

index 27dfc5fc1d9d14f14bfcdd528c74c1cbd792e925..9fe51fd5ae92ca2333da10b05bdb87a64cba4663 100644 (file)
@@ -1,4 +1,4 @@
-b43203a134fb5e259ffc1711cc061c6e869b56f6
+513652173d6f02206be3ddaa2b6ed0b191ea4e3d
 
 The first line of this file holds the git revision number of the last
 merge done from the dlang/druntime repository.
index ab1fcd7b1646e6666ac9af266159f05f4ea8e37c..963a241f0762cdcbdac0ba33d6d908d51047db7f 100644 (file)
@@ -709,10 +709,10 @@ version (CRuntime_Glibc)
             }
             int[2] __unused;
         }
-        static if (__USE_FILE_OFFSET64)
+        version (D_LP64)
             static assert(stat_t.sizeof == 128);
         else
-            static assert(stat_t.sizeof == 128);
+            static assert(stat_t.sizeof == 104);
     }
     else version (SPARC64)
     {