SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
23
misc/magicpoint/patches/patch-mgp_h
Normal file
23
misc/magicpoint/patches/patch-mgp_h
Normal file
|
@ -0,0 +1,23 @@
|
|||
--- mgp.h.orig Sat Nov 5 10:09:50 2005
|
||||
+++ mgp.h Sat Nov 5 10:15:33 2005
|
||||
@@ -276,6 +276,7 @@ struct ctrl {
|
||||
u_char ct_flag;
|
||||
u_int ct_page;
|
||||
struct ctrl *ct_next;
|
||||
+ int ct_type;
|
||||
union {
|
||||
struct ctrl_double ctrl_double;
|
||||
struct ctrl_int ctrl_int;
|
||||
@@ -291,6 +292,12 @@ struct ctrl {
|
||||
struct ctrl_pcache ctrl_pcache;
|
||||
} ct_val;
|
||||
};
|
||||
+
|
||||
+#define CTL_INT 0
|
||||
+#define CTL_CHAR 1
|
||||
+#define CTL_CHAR2 2
|
||||
+#define CTL_DOUBLE 3
|
||||
+#define CTL_LONG 4
|
||||
|
||||
#define ctf_value ct_val.ctrl_double.ct_value
|
||||
#define cti_value ct_val.ctrl_int.ct_value
|
Loading…
Add table
Add a link
Reference in a new issue