epoc32/include/stdapis/glob.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
     1.1 --- a/epoc32/include/stdapis/glob.h	Wed Mar 31 12:27:01 2010 +0100
     1.2 +++ b/epoc32/include/stdapis/glob.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -1,7 +1,5 @@
     1.4  // glob.h
     1.5 -//
     1.6 -// © Portions copyright (c) 2006 Symbian Software Ltd. All rights reserved.
     1.7 -//
     1.8 +
     1.9  
    1.10  /*
    1.11   * Copyright (c) 1989, 1993
    1.12 @@ -37,6 +35,7 @@
    1.13   *	@(#)glob.h	8.1 (Berkeley) 6/2/93
    1.14   * $FreeBSD: src/include/glob.h,v 1.7 2002/07/17 04:58:09 mikeh Exp $
    1.15   */
    1.16 +/* Portions Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. */
    1.17  
    1.18  #ifndef _GLOB_H_
    1.19  #define	_GLOB_H_
    1.20 @@ -65,6 +64,10 @@
    1.21  	int (*gl_stat)(const char *, struct stat *);
    1.22  } glob_t;
    1.23  
    1.24 +#if defined(SYMBIAN_OE_LARGE_FILE_SUPPORT) && !defined(SYMBIAN_OE_NO_LFS)
    1.25 +#define glob64_t	glob_t
    1.26 +#endif /* SYMBIAN_OE_LARGE_FILE_SUPPORT && !SYMBIAN_OE_NO_LFS */
    1.27 +
    1.28  #if __POSIX_VISIBLE >= 199209
    1.29  /* Believed to have been introduced in 1003.2-1992 */
    1.30  #define	GLOB_APPEND	0x0001	/* Append to output from previous call. */
    1.31 @@ -101,6 +104,11 @@
    1.32  IMPORT_C int	glob(const char *, int, int (*)(const char *, int), glob_t *);
    1.33  IMPORT_C void	globfree(glob_t *);
    1.34  
    1.35 +#if defined(SYMBIAN_OE_LARGE_FILE_SUPPORT) && !defined(SYMBIAN_OE_NO_LFS)
    1.36 +#define glob64	glob
    1.37 +#define globfree64	globfree
    1.38 +#endif /* SYMBIAN_OE_LARGE_FILE_SUPPORT && !SYMBIAN_OE_NO_LFS */
    1.39 +
    1.40  __END_DECLS
    1.41  
    1.42  #endif /* !_GLOB_H_ */