home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ledar34.zip / leda-r-3_4_tar / LEDA-3.4 / confdir / unix / cctest.c next >
C/C++ Source or Header  |  1996-09-03  |  335b  |  31 lines

  1. #include <iostream.h>
  2.  
  3. main()
  4. {
  5.   char* cc = "CC";
  6.  
  7. #if defined(__SUNPRO_CC)
  8.   cc = "sunpro";
  9. #endif
  10.  
  11. #if defined(hpux)
  12.   cc = "hpux";
  13. #endif
  14.  
  15. #if defined(__CLCC__)
  16.   cc = "centerline";
  17. #endif
  18.  
  19. #if defined(mips) 
  20. #if defined(_COMPILER_VERSION)
  21.   cc = "mipspro";
  22. #else
  23.   cc = "mips";
  24. #endif
  25. #endif
  26.  
  27.   cout << cc << endl;
  28.  
  29.   return 0;
  30. }
  31.