Ignore:
Timestamp:
Sep 3, 2007, 12:46:37 AM (18 years ago)
Author:
bird
Message:

fixed the testcases.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kStuff/kLdr/testcase/tst.h

    r2965 r3584  
    11/* $Id$ */
    22/** @file
     3 * kLdr testcase header.
     4 */
     5
     6/*
     7 * Copyright (c) 2006-2007 knut st. osmundsen <bird-src-spam@anduin.net>
    38 *
    4  * kLdr testcase.
     9 * This file is part of kStuff.
    510 *
    6  * Copyright (c) 2006 knut st. osmundsen <bird-kbuild-src@anduin.net>
     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.
    715 *
     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.
    820 *
    9  * This file is part of kLdr.
    10  *
    11  * kLdr is free software; you can redistribute it and/or modify
    12  * it under the terms of the GNU General Public License as published by
    13  * the Free Software Foundation; either version 2 of the License, or
    14  * (at your option) any later version.
    15  *
    16  * kLdr 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
    19  * GNU General Public License for more details.
    20  *
    21  * You should have received a copy of the GNU General Public License
    22  * along with kLdr; if not, write to the Free Software
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     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
    2424 *
    2525 */
    2626
     27#ifndef ___tst_h___
     28#define ___tst_h___
    2729
    28 #ifndef __tst_h__
    29 #define __tst_h__
     30#include <k/kLdr.h>
     31#include <k/kHlp.h>
    3032
    31 #include "../kLdr.h"
    32 #include "../kLdrHlp.h"
    33 
    34 
    35 #if defined(__OS2__) || defined(__WIN__) || defined(__NT__)
     33#if K_OS == K_OS_OS2 \
     34 || K_OS == K_OS_WINDOWS
    3635# define MY_EXPORT(type) __declspec(dllexport) type
    3736/*# define MY_IMPORT(type) extern __declspec(dllimport) type*/
     
    4241#endif
    4342
    44 #if defined(__OS2__) || defined(__DARWIN__)
     43#if K_OS == K_OS_OS2 \
     44 || K_OS == K_OS_DARWIN
    4545# define MY_NAME(a) "_" a
    4646#else
Note: See TracChangeset for help on using the changeset viewer.