|
Revision 2676, 0.6 kB
(checked in by timothy, 3 years ago)
|
Changes the #ifdef test to use NSAppKitVersionNumber10_3, since that wasn't defined on a 10.3 machine (now that we know the 10.4 define comes with Quicktime 7 for Panther). More of these changes to come.
|
| Line | |
|---|
| 1 |
#ifdef __OBJC__ |
|---|
| 2 |
|
|---|
| 3 |
#import <Cocoa/Cocoa.h> |
|---|
| 4 |
#import <WebKit/WebKit.h> |
|---|
| 5 |
#import <AGRegex/AGRegex.h> |
|---|
| 6 |
|
|---|
| 7 |
#ifdef NSAppKitVersionNumber10_3 |
|---|
| 8 |
#define WebKitVersion146 1 |
|---|
| 9 |
#endif |
|---|
| 10 |
|
|---|
| 11 |
#endif |
|---|
| 12 |
|
|---|
| 13 |
#ifdef NSAppKitVersionNumber10_3 |
|---|
| 14 |
#include <sys/xattr.h> |
|---|
| 15 |
#endif |
|---|
| 16 |
|
|---|
| 17 |
// define these here so they weak link for Panther letting the binary be backwards compatible |
|---|
| 18 |
extern int fsetxattr(int fd, const char *name, const void *value, size_t size, u_int32_t position, int options) WEAK_IMPORT_ATTRIBUTE; |
|---|
| 19 |
extern ssize_t fgetxattr(int fd, const char *name, void *value, size_t size, u_int32_t position, int options) WEAK_IMPORT_ATTRIBUTE; |
|---|