Changeset 14643


Ignore:
Timestamp:
Feb 6, 2011, 8:34:09 AM (14 years ago)
Author:
Gary Byers
Message:

On Cocotron, try to ensure that NSDebugEnabled is false. (It's set
to #$NO in the source, but something, somewhere seems to set it true.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/objc-bridge/objc-runtime.lisp

    r14639 r14643  
    373373         (open-shared-library "AppKit.1.0.dll")
    374374         (open-shared-library "CoreData.1.0.dll")
     375         ;; If the BOOL variable NSDebugEnabled can be found, ensure
     376         ;; that it's set to #$NO.  (When set to non-zero values, it
     377         ;; can cause attempts to raise NSExceptions to do nothing.
     378         ;; It's not clear how it gets set to a non-zero value.)
     379         (let* ((addr (foreign-symbol-address "NSDebugEnabled")))
     380           (when addr (setf (%get-unsigned-byte addr) #$NO)))
    375381         ;; We may need to call #_NSInitializeProcess
    376382         ;; under Cocotron.  If so, we'd need to do
Note: See TracChangeset for help on using the changeset viewer.