diff options
author | midipix <writeonce@midipix.org> | 2019-06-13 09:40:47 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-06-13 09:40:47 +0000 |
commit | e9e8eb8f240ace9f334d4dac96dc3ebe68a07989 (patch) | |
tree | 10f46c66a642184c549328e713aa69becf319d35 | |
parent | 964b8dfc8fc1dbe0f60a13a050c38a917cbf7a79 (diff) | |
download | mmglue-e9e8eb8f240ace9f334d4dac96dc3ebe68a07989.tar.bz2 mmglue-e9e8eb8f240ace9f334d4dac96dc3ebe68a07989.tar.xz |
midipix targets: uid_t & gid_t --> uint64_t, matching updated def. in psxscl.
-rw-r--r-- | arch/nt32/bits/alltypes.sed | 2 | ||||
-rw-r--r-- | arch/nt64/bits/alltypes.sed | 2 | ||||
-rw-r--r-- | project/headers.mk | 4 |
3 files changed, 7 insertions, 1 deletions
diff --git a/arch/nt32/bits/alltypes.sed b/arch/nt32/bits/alltypes.sed new file mode 100644 index 0000000..e970c09 --- /dev/null +++ b/arch/nt32/bits/alltypes.sed @@ -0,0 +1,2 @@ +/^TYPEDEF/s/TYPEDEF unsigned uid_t;/TYPEDEF unsigned _Int64 uid_t;/ +/^TYPEDEF/s/TYPEDEF unsigned gid_t;/TYPEDEF unsigned _Int64 gid_t;/ diff --git a/arch/nt64/bits/alltypes.sed b/arch/nt64/bits/alltypes.sed new file mode 100644 index 0000000..e970c09 --- /dev/null +++ b/arch/nt64/bits/alltypes.sed @@ -0,0 +1,2 @@ +/^TYPEDEF/s/TYPEDEF unsigned uid_t;/TYPEDEF unsigned _Int64 uid_t;/ +/^TYPEDEF/s/TYPEDEF unsigned gid_t;/TYPEDEF unsigned _Int64 gid_t;/ diff --git a/project/headers.mk b/project/headers.mk index 614d9c5..996a846 100644 --- a/project/headers.mk +++ b/project/headers.mk @@ -14,12 +14,14 @@ ARCH_GEN_H = $(ALLTYPES_H) $(SYSCALL_H) ALLTYPES_DEPS = \ $(PORT_DIR)/arch/$(ARCH)/bits/alltypes.h.in \ + $(PORT_DIR)/arch/$(ARCH)/bits/alltypes.sed \ $(SOURCE_DIR)/include/alltypes.h.in \ $(SOURCE_DIR)/tools/mkalltypes.sed \ | build/include/bits/ $(ALLTYPES_H): $(ALLTYPES_DEPS) - sed -f $(SOURCE_DIR)/tools/mkalltypes.sed \ + sed -f $(PORT_DIR)/arch/$(ARCH)/bits/alltypes.sed \ + -f $(SOURCE_DIR)/tools/mkalltypes.sed \ $(PORT_DIR)/arch/$(ARCH)/bits/alltypes.h.in \ $(SOURCE_DIR)/include/alltypes.h.in > $@ |