1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 09:47:34 +00:00

Ports: Add ed port (#1159)

This commit is contained in:
Brian Callahan 2020-02-01 14:54:04 -05:00 committed by GitHub
parent d0c230855d
commit c904095333
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,12 @@
--- ed-1.15/ed.h.orig Sat Feb 1 14:19:01 2020
+++ ed-1.15/ed.h Sat Feb 1 14:19:17 2020
@@ -18,8 +18,7 @@
*/
#ifndef __cplusplus
-enum Bool { false = 0, true = 1 };
-typedef enum Bool bool;
+#include <stdbool.h>
#endif
enum Pflags /* print suffixes */