File tree 5 files changed +12
-8
lines changed
5 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -2080,6 +2080,10 @@ buf_write(
2080
2080
// structures end with a newline (carriage return) character, and
2081
2081
// if they don't it adds one.
2082
2082
// With other RMS structures it works perfect without this fix.
2083
+ # ifndef MIN
2084
+ // Older DECC compiler for VAX doesn't define MIN()
2085
+ # define MIN (a , b ) ((a) < (b) ? (a) : (b))
2086
+ # endif
2083
2087
if (buf -> b_fab_rfm == FAB$C_VFC
2084
2088
|| ((buf -> b_fab_rat & (FAB$M_FTN | FAB$M_CR )) != 0 ))
2085
2089
{
Original file line number Diff line number Diff line change @@ -2866,11 +2866,6 @@ check_for_cryptkey(
2866
2866
}
2867
2867
#endif // FEAT_CRYPT
2868
2868
2869
- #if defined(VMS ) && !defined(MIN )
2870
- // Older DECC compiler for VAX doesn't define MIN()
2871
- # define MIN (a , b ) ((a) < (b) ? (a) : (b))
2872
- #endif
2873
-
2874
2869
/*
2875
2870
* Return TRUE if a file appears to be read-only from the file permissions.
2876
2871
*/
Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ ui_inchar(
247
247
return retval ;
248
248
}
249
249
250
- #if defined(UNIX ) || defined(FEAT_GUI ) || defined(PROTO )
250
+ #if defined(UNIX ) || defined(VMS ) || defined( FEAT_GUI ) || defined(PROTO )
251
251
/*
252
252
* Common code for mch_inchar() and gui_inchar(): Wait for a while or
253
253
* indefinitely until characters are available, dealing with timers and
Original file line number Diff line number Diff line change @@ -742,6 +742,8 @@ static char *(features[]) =
742
742
743
743
static int included_patches [] =
744
744
{ /* Add new patch number below this line */
745
+ /**/
746
+ 9 ,
745
747
/**/
746
748
8 ,
747
749
/**/
Original file line number Diff line number Diff line change 11
11
# or if you use mmk
12
12
# mmk/descrip=Make_vms.mms
13
13
#
14
-
14
+ # To cleanup: mms/descrip=Make_vms.mms clean
15
+ #
15
16
######################################################################
16
17
# Configuration section.
17
18
######################################################################
@@ -58,7 +59,7 @@ LDFLAGS =
58
59
SOURCES = xxd.c
59
60
OBJ = xxd.obj
60
61
61
- .obj.c :
62
+ .c.obj :
62
63
$(CC_DEF) $(CFLAGS) $<
63
64
64
65
$(TARGET) : $(OBJ)
@@ -67,3 +68,5 @@ $(TARGET) : $(OBJ)
67
68
clean :
68
69
-@ if "''F$SEARCH("*.obj")'" .NES. "" then delete/noconfirm/nolog *.obj;*
69
70
-@ if "''F$SEARCH("*.exe")'" .NES. "" then delete/noconfirm/nolog *.exe;*
71
+
72
+ xxd.obj : xxd.c
You can’t perform that action at this time.
0 commit comments