Changeset 28

Show
Ignore:
Timestamp:
08/29/07 10:24:54 (1 year ago)
Author:
flithm
Message:

Fix for building on windows

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/samples/FullSkeleton/libraryA/core/Exception.d

    r25 r28  
    1919/////////////////////////////////////// 
    2020 
    21 import  tango.core.Exception; 
     21version (Tango) 
     22    import  tango.core.Exception; 
    2223 
    2324//////////////////////////////////////////////////////////////////////////// 
     
    3233 * PathNotFoundException Class 
    3334**/ 
    34 class PathNotFoundException : IOException { 
    35     /// Default Constructor 
    36     this (char [] Message) { 
    37         super(Message); 
     35version (Tango) { 
     36    class PathNotFoundException : IOException { 
     37        /// Default Constructor 
     38        this (char [] Message) { 
     39            super(Message); 
     40        } 
     41    } 
     42} else { 
     43    class PathNotFoundException : Exception { 
     44        /// Default Constructor 
     45        this (char [] Message) { 
     46            super(Message); 
     47        } 
    3848    } 
    3949} 
  • trunk/samples/FullSkeleton/libraryB/LibraryB.d

    r25 r28  
    2626} 
    2727version(RendererWin) { 
    28 import  libraryB.render.RendererWin
     28import  libraryB.render.RendererWindows
    2929} 
    3030