Fixed correctness in stdio, minor changes in ls to handle dirs with negative sizes
[tpg/acess2.git] / Usermode / Libraries / libgcc.so_src / libgcc.c
index 2127b55..010cc35 100644 (file)
@@ -1,9 +1,8 @@
 /* Acess GCC Helper Library
  *
  */
-#include <sys/sys.h>
-
-typedef unsigned long long int uint64_t;
+#include <acess/sys.h>
+#include <stdint.h>
 
 // === CODE ===
 int SoMain()
@@ -14,7 +13,7 @@ int SoMain()
 // --- Errors ---
 void __stack_chk_fail()
 {
-       write(1, 32, "FATAL ERROR: Stack Check Failed\n");
+       write(2, 32, "FATAL ERROR: Stack Check Failed\n");
        _exit(-1);
        for(;;);
 }

UCC git Repository :: git.ucc.asn.au