diff cinst/main.c @ 313:f17226aa2e09

Temporary build fix for windows. Also Use putenv in test
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 04 Apr 2014 11:02:02 +0000
parents fac7e1b0e558
children eff8e7ce4dae
line wrap: on
line diff
--- a/cinst/main.c	Fri Apr 04 12:20:19 2014 +0200
+++ b/cinst/main.c	Fri Apr 04 11:02:02 2014 +0000
@@ -262,7 +262,9 @@
           ERRORPRINTF ("Failed to write windows stores retval: %i\n", ret);
         }
 #endif
+#ifndef WIN32 /* TODO Remove ifdef once it is implemented */
       ret = write_stores_nss (NULL, all_valid_certs);
+#endif
       return ret;
     }
 
@@ -305,8 +307,9 @@
       ERRORPRINTF ("Failed to write windows stores retval: %i\n", ret);
     }
 #endif
+#ifndef WIN32 /* TODO Remove ifdef once it is implemented */
   ret = write_stores_nss (to_install, to_remove);
-
+#endif
   if (ret != 0)
     {
       ERRORPRINTF ("Failed to write nss stores");

http://wald.intevation.org/projects/trustbridge/