Print this page
make: unifdef for SUNOS4_AND_AFTER (defined)

@@ -56,15 +56,11 @@
 void
 depvar_add_to_list(Name name, Boolean cmdline)
 {
         Depvar          dv;
 
-#ifdef SUNOS4_AND_AFTER
         dv = ALLOC(Depvar);
-#else
-        dv = (Depvar) Malloc(sizeof(struct _Depvar));
-#endif
         dv->name = name;
         dv->next = NULL;
         dv->cmdline = cmdline;
         *bpatch = dv;
         bpatch = &dv->next;

@@ -85,15 +81,11 @@
         Depvar          dv;
 
         for (dv = depvar_list; dv != NULL; dv = dv->next) {
                 if (name == dv->name) {
 #ifdef NSE
-#ifdef SUNOS4_AND_AFTER
                         if (dv->cmdline) {
-#else
-                        if (is_true(dv->cmdline)) {
-#endif
                                 nse_dep_cmdmacro(dv->name->string);
                         }
 #endif
                         variant_deps = true;
                         break;

@@ -112,15 +104,11 @@
 {
         Depvar          dv;
 
         for (dv = depvar_list; dv != NULL; dv = dv->next) {
                 if (name == dv->name) {
-#ifdef SUNOS4_AND_AFTER
                         if (dv->cmdline) {
-#else
-                        if (is_true(dv->cmdline)) {
-#endif
                                 nse_rule_cmdmacro(dv->name->string);
                         }
                         break;
                 }
         }