You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by dr...@apache.org on 2001/03/01 23:50:24 UTC

cvs commit: apr/file_io/unix mktemp.c

dreid       01/03/01 14:50:24

  Modified:    file_io/unix mktemp.c
  Log:
  apr_private.h is included from fileio.h so we don't need to specify
  it.  This caused a build failure on FreeBSD 4-STABLE for some strange
  reason.  Also, bring the #if !defined into line with the other #ifndef
  checks we make in the file.
  
  Revision  Changes    Path
  1.5       +1 -2      apr/file_io/unix/mktemp.c
  
  Index: mktemp.c
  ===================================================================
  RCS file: /home/cvs/apr/file_io/unix/mktemp.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- mktemp.c	2001/02/23 20:29:07	1.4
  +++ mktemp.c	2001/03/01 22:50:24	1.5
  @@ -31,10 +31,9 @@
    * SUCH DAMAGE.
    */
   
  -#include "apr_private.h"
   #include "fileio.h" /* prototype of apr_mkstemp() */
   
  -#if !defined(HAVE_MKSTEMP)
  +#ifndef HAVE_MKSTEMP
   
   #ifndef __warn_references
   #define __warn_references(a,b)