home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / KERNEL-S / V1.2 / LINUX-1.2 / LINUX-1 / linux / include / asm-sparc / cprefix.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-02-06  |  582 b   |  21 lines

  1. /* cprefix.h:  This file is included by assembly source which needs
  2.  *             to know what the c-label prefixes are. The newer versions
  3.  *           of cpp that come with gcc predefine such things to help
  4.  *           us out. The reason this stuff is needed is to make
  5.  *           solaris compiles of the kernel work.
  6.  *
  7.  * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
  8.  */
  9.  
  10.  
  11. #ifndef __svr4__
  12. #define C_LABEL_PREFIX _
  13. #else
  14. #define C_LABEL_PREFIX
  15. #endif
  16.  
  17. #define CONCAT1(a, b) CONCAT2(a, b)
  18. #define CONCAT2(a, b) a##b
  19.  
  20. #define C_LABEL(name) CONCAT1(C_LABEL_PREFIX, name)
  21.