~ubuntu-branches/ubuntu/lucid/sage/lucid

« back to all changes in this revision

Viewing changes to sage/header.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Koch
  • Date: 2004-05-16 09:53:10 UTC
  • Revision ID: james.westby@ubuntu.com-20040516095310-yt48w3ftegoo2p48
Tags: upstream-0.1.1
ImportĀ upstreamĀ versionĀ 0.1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// This file may be redistributed and modified only under the terms of
 
2
// the GNU Lesser General Public License (See COPYING for details).
 
3
// Copyright (C) 2003 Simon Goodall
 
4
 
 
5
#ifndef SAGE_HEADER_H
 
6
#define SAGE_HEADER_H 1
 
7
 
 
8
#ifdef __cplusplus
 
9
#define EXTERN extern "C"
 
10
#else
 
11
#define EXTERN extern
 
12
#endif
 
13
 
 
14
#if defined (WIN32) || defined (_WIN32) || defined( __WIN32__)
 
15
#define WINDOWS_BUILD 1
 
16
#endif
 
17
 
 
18
#if defined(WINDOWS_BUILD) && false
 
19
  #ifdef BUILD_SAGE_DLL
 
20
    #define SAGEAPI EXTERN __declspec(dllexport)
 
21
  #else
 
22
    #define SAGEAPI EXTERN __declspec(dllimport)
 
23
  #endif
 
24
#else
 
25
  #define SAGEAPI EXTERN
 
26
#endif
 
27
 
 
28
#endif