]> andersk Git - moira.git/commitdiff
Wrap #ifndef _PROC_ around one function that the oracle 7.3.4 precompiler
authordanw <danw>
Thu, 27 Aug 1998 17:47:37 +0000 (17:47 +0000)
committerdanw <danw>
Thu, 27 Aug 1998 17:47:37 +0000 (17:47 +0000)
can't parse correctly.

server/increment.pc

index d81b7a51c1937f12d4e647d782cf14756da0ce5b..30a559e78c31962f0c865cc0cad4923a6f170a4d 100644 (file)
@@ -391,7 +391,11 @@ void incremental_update(void)
     next_incremental();
 }
 
+/* Pro*C 2.2.4 can't cope with the sigset_t below, at least in Solaris 2.6.
+   We add DEFINE=_PROC_ to the proc invocation and then #ifndef that around
+   this function so proc will pass it through without reading it. */
 
+#ifndef _PROC_
 void next_incremental(void)
 {
   struct iupdate *iu;
@@ -446,7 +450,7 @@ void next_incremental(void)
   free_argv(iu->after, iu->afterc);
   free(iu);
 }
-
+#endif
 
 /* Called when the current transaction is aborted to throw away any queued
  * incremental updates
This page took 0.143237 seconds and 5 git commands to generate.