00001 /*<std-header orig-src='shore' incl-file-exclusion='CAT_H'> 00002 00003 $Id: cat.h,v 1.6 1999/06/07 19:02:41 kupsch Exp $ 00004 00005 SHORE -- Scalable Heterogeneous Object REpository 00006 00007 Copyright (c) 1994-99 Computer Sciences Department, University of 00008 Wisconsin -- Madison 00009 All Rights Reserved. 00010 00011 Permission to use, copy, modify and distribute this software and its 00012 documentation is hereby granted, provided that both the copyright 00013 notice and this permission notice appear in all copies of the 00014 software, derivative works or modified versions, and any portions 00015 thereof, and that both notices appear in supporting documentation. 00016 00017 THE AUTHORS AND THE COMPUTER SCIENCES DEPARTMENT OF THE UNIVERSITY 00018 OF WISCONSIN - MADISON ALLOW FREE USE OF THIS SOFTWARE IN ITS 00019 "AS IS" CONDITION, AND THEY DISCLAIM ANY LIABILITY OF ANY KIND 00020 FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. 00021 00022 This software was developed with support by the Advanced Research 00023 Project Agency, ARPA order number 018 (formerly 8230), monitored by 00024 the U.S. Army Research Laboratory under contract DAAB07-91-C-Q518. 00025 Further funding for this work was provided by DARPA through 00026 Rome Research Laboratory Contract No. F30602-97-2-0247. 00027 00028 */ 00029 00030 #ifndef CAT_H 00031 #define CAT_H 00032 00033 #include "w_defines.h" 00034 00035 /* -- do not edit anything above this line -- </std-header>*/ 00036 00037 /* 00038 * NB -- THIS FILE MUST BE LEGITIMATE INPUT TO cc and RPCGEN !!!! 00039 * Please do as follows: 00040 * a) keep all comments in traditional C style. 00041 * b) If you put something c++-specific make sure it's 00042 * got ifdefs around it 00043 */ 00044 00045 #if defined(__STRICT_ANSI__)||defined(__GNUC__)||defined(__STDC__)||defined(__ANSI_CPP__) 00046 # define __cat(a,b) a##b 00047 # define _cat(a,b) __cat(a,b) 00048 # define _string(a) #a 00049 #else 00050 00051 #ifdef COMMENT 00052 /* For compilers that don't understand # and ##, try one of these: 00053 //# error preprocessor does not understand ANSI catenate and string. 00054 */ 00055 00056 # define _cat(a,b) a\ 00057 b 00058 # define _cat(a,b) a/**/b 00059 # define _string(a) "a" 00060 00061 #endif 00062 00063 #ifdef sparc 00064 # define _cat(a,b) a\ 00065 b 00066 # define _string(a) "a" 00067 #endif 00068 00069 #endif 00070 00071 /*<std-footer incl-file-exclusion='CAT_H'> -- do not edit anything below this line -- */ 00072 00073 #endif /*</std-footer>*/