~ubuntu-branches/ubuntu/utopic/blender/utopic-proposed

« back to all changes in this revision

Viewing changes to source/blender/blenlib/BLI_fnmatch.h

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2014-02-19 11:24:23 UTC
  • mfrom: (14.2.23 sid)
  • Revision ID: package-import@ubuntu.com-20140219112423-rkmaz2m7ha06d4tk
Tags: 2.69-3ubuntu1
* Merge with Debian; remaining changes:
  - Configure without OpenImageIO on armhf, as it is not available on
    Ubuntu.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
extern "C" {
29
29
#endif
30
30
 
 
31
#if defined WIN32 && !defined _LIBC  || defined __sun
 
32
 
31
33
#if defined(__cplusplus) || (defined(__STDC__) && __STDC__)
32
34
#undef  __P
33
35
#define __P(protos) protos
65
67
extern int fnmatch __P((const char *__pattern, const char *__string,
66
68
                        int __flags));
67
69
 
 
70
#else
 
71
#  ifndef _GNU_SOURCE
 
72
#    define _GNU_SOURCE
 
73
#  endif
 
74
#  include <fnmatch.h>
 
75
#endif /* defined WIN32 && !defined _LIBC  || defined __sun */
 
76
 
68
77
#ifdef  __cplusplus
69
78
}
70
79
#endif