1# Copyright (c) 2006-2008, The RubyCocoa Project.
2# Copyright (c) 2001-2006, FUJIMOTO Hisakuni.
3# All Rights Reserved.
4#
5# RubyCocoa is free software, covered under either the Ruby's license or the 
6# LGPL. See the COPYRIGHT file for more information.
7
8require 'osx/objc/oc_all.rb'
9require 'osx/objc/cocoa_macros'
10
11p = '/System/Library/BridgeSupport/libSystem.bridgesupport'
12OSX.load_bridge_support_file(p) if File.exist?(p)
13
14# FIXME: 10.6 Foundation.bridgesupport defines the value64 of NSNotFound as -1
15module OSX
16  remove_const(:NSNotFound)
17  NSNotFound = NSIntegerMax
18end
19