]> pd.if.org Git - pdclib/blobdiff - functions/_PDCLIB/prepwrite.c
No exceptions to regtestdrivers anymore.
[pdclib] / functions / _PDCLIB / prepwrite.c
index 46f2d2f436d1b06067bcc7003e8bbd82b0dec1af..a901ccdaed39f10e4674ad727696c49c1341016e 100644 (file)
@@ -6,6 +6,8 @@
 
 #include <stdio.h>
 
+#ifndef REGTEST
+
 int _PDCLIB_prepwrite( struct _PDCLIB_file_t * stream )
 {
     if ( ( stream->bufidx < stream->bufend ) || ( stream->ungetidx > 0 ) ||
@@ -24,8 +26,10 @@ int _PDCLIB_prepwrite( struct _PDCLIB_file_t * stream )
     return 0;
 }
 
+#endif
+
 #ifdef TEST
-#include <_PDCLIB_test.h>
+#include "_PDCLIB_test.h"
 
 int main( void )
 {