| Last change
 on this file since 3667 was             3601, checked in by bird, 18 years ago | 
        
          | 
license update.
 | 
        
          | 
              
Property                 svn:keywords
 set to                 Id | 
        
          | File size:
            1.4 KB | 
      
      
| Line |  | 
|---|
| 1 | /* $Id: tst.h 3601 2007-10-29 00:21:13Z bird $ */ | 
|---|
| 2 | /** @file | 
|---|
| 3 | * kLdr testcase header. | 
|---|
| 4 | */ | 
|---|
| 5 |  | 
|---|
| 6 | /* | 
|---|
| 7 | * Copyright (c) 2006-2007 knut st. osmundsen <bird-kStuff-spam@anduin.net> | 
|---|
| 8 | * | 
|---|
| 9 | * This file is part of kStuff. | 
|---|
| 10 | * | 
|---|
| 11 | * kStuff is free software; you can redistribute it and/or | 
|---|
| 12 | * modify it under the terms of the GNU Lesser General Public | 
|---|
| 13 | * License as published by the Free Software Foundation; either | 
|---|
| 14 | * version 2.1 of the License, or (at your option) any later version. | 
|---|
| 15 | * | 
|---|
| 16 | * kStuff is distributed in the hope that it will be useful, | 
|---|
| 17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
|---|
| 18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | 
|---|
| 19 | * Lesser General Public License for more details. | 
|---|
| 20 | * | 
|---|
| 21 | * You should have received a copy of the GNU Lesser General Public | 
|---|
| 22 | * License along with kStuff; if not, write to the Free Software | 
|---|
| 23 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA | 
|---|
| 24 | * | 
|---|
| 25 | */ | 
|---|
| 26 |  | 
|---|
| 27 | #ifndef ___tst_h___ | 
|---|
| 28 | #define ___tst_h___ | 
|---|
| 29 |  | 
|---|
| 30 | #include <k/kLdr.h> | 
|---|
| 31 | #include <k/kHlp.h> | 
|---|
| 32 |  | 
|---|
| 33 | #if K_OS == K_OS_OS2 \ | 
|---|
| 34 | || K_OS == K_OS_WINDOWS | 
|---|
| 35 | # define MY_EXPORT(type) __declspec(dllexport) type | 
|---|
| 36 | /*# define MY_IMPORT(type) extern __declspec(dllimport) type*/ | 
|---|
| 37 | # define MY_IMPORT(type) extern type | 
|---|
| 38 | #else | 
|---|
| 39 | # define MY_EXPORT(type) type | 
|---|
| 40 | # define MY_IMPORT(type) extern type | 
|---|
| 41 | #endif | 
|---|
| 42 |  | 
|---|
| 43 | #if K_OS == K_OS_OS2 \ | 
|---|
| 44 | || K_OS == K_OS_DARWIN | 
|---|
| 45 | # define MY_NAME(a) "_" a | 
|---|
| 46 | #else | 
|---|
| 47 | # define MY_NAME(a) a | 
|---|
| 48 | #endif | 
|---|
| 49 |  | 
|---|
| 50 | extern const char *g_pszName; | 
|---|
| 51 |  | 
|---|
| 52 | #endif | 
|---|
| 53 |  | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.