delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/10/30/19:41:43

From: N8TM AT aol DOT com
Subject: Re: I need help with telldir and seekdir
30 Oct 1998 19:41:43 -0800 :
Message-ID: <70f7db20.363942da.cygnus.gnu-win32@aol.com>
Mime-Version: 1.0
To: vzell AT de DOT oracle DOT com, e952508 AT anubis DOT ecci DOT ucr DOT ac DOT cr
Cc: gnu-win32 AT cygnus DOT com

In a message dated 10/29/98 3:02:49 PM Pacific Standard Time,
vzell AT de DOT oracle DOT com writes:

> I'm trying to port code from unix to win32 with cygwin32.  Everything
>  >worked right until a tried to compile a file wich included "dirent.h"
>  >and tried to use seekdir and telldir.
>  >    Can somebody tellme either  if  those functions are available in
>  >other  header file, or  if i should implement them, and if that's the
>  >case, how can i do it.

from a source code which works for me:

#if ! defined (_WIN32) || defined (__CYGWIN32__)
#if defined(POSIX) || defined(CONCURRENT)
#include <dirent.h>
#else
#include <sys/dir.h>
#endif
#endif

so it looks to me like you're mis-configured.  There may be conflicting
consequences to your decision whether to set POSIX.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019