]> pd.if.org Git - pdclib/blobdiff - platform/example/functions/_PDCLIB/open.c
Joined 32 and 64 bit configurations, made platform linking unnecessary.
[pdclib] / platform / example / functions / _PDCLIB / open.c
index fc02790826c1ee913212b7670ab1f01aecbb5597..f661da5bd170ab2be05ec333f1982a25abf3c3e9 100644 (file)
@@ -102,6 +102,7 @@ int _PDCLIB_open( char const * const filename, unsigned int mode )
 
 int main( void )
 {
+#ifndef REGTEST
     /* This testdriver assumes POSIX, i.e. _PDCLIB_fd_t being int and being
        incremented by one on each successful open.
     */
@@ -157,6 +158,7 @@ int main( void )
     TESTCASE( _PDCLIB_close( fh ) == 0 );
     /* Cleaning up. */
     TESTCASE( remove( testfile ) == 0 );
+#endif
     return TEST_RESULTS;
 }