Changeset 4633:d3571af94e9d in roaraudio
- Timestamp:
- 11/29/10 20:21:32 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroaross/libroaross.c
r4487 r4633 180 180 int (*open64)(const char *__file, int __oflag, ...); 181 181 int (*creat)(const char *_CREAT_ARG_PATHNAME, mode_t mode); 182 #ifndef __clang__ 182 183 int (*stat)(const char *path, struct stat *buf); 183 184 int (*fstat)(int filedes, struct stat *buf); 184 185 int (*lstat)(const char *path, struct stat *buf); 186 #endif 185 187 } _os; 186 188 … … 308 310 _os.open64 = dlsym(REAL_LIBC, "open64"); 309 311 _os.creat = dlsym(REAL_LIBC, "creat"); 312 #ifndef __clang__ 310 313 _os.stat = dlsym(REAL_LIBC, "stat"); 311 314 _os.fstat = dlsym(REAL_LIBC, "fstat"); 312 315 _os.lstat = dlsym(REAL_LIBC, "lstat"); 316 #endif 313 317 } 314 318 … … 2032 2036 // ------------------------------------- 2033 2037 2038 #ifndef __clang__ 2034 2039 int stat(const char *path, struct stat *buf) { 2035 2040 struct devices * ptr; … … 2067 2072 return _os.lstat(path, buf); 2068 2073 } 2074 #endif 2069 2075 2070 2076 // -------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.