File: add_config.patch

package info (click to toggle)
mrmpi 1.0~20140404-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,760 kB
  • sloc: cpp: 13,440; python: 876; ansic: 306; makefile: 175; sh: 11
file content (37 lines) | stat: -rw-r--r-- 1,175 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Author: Mathieu Malaterre
Last-Update: 2011-10-26 18:54:30 +0000
Description: Add config file

--- /dev/null
+++ b/src/mrmpi_config.h
@@ -0,0 +1,30 @@
+/* ----------------------------------------------------------------------
+   MR-MPI = MapReduce-MPI library
+   http://www.cs.sandia.gov/~sjplimp/mapreduce.html
+   Steve Plimpton, sjplimp@sandia.gov, Sandia National Laboratories
+
+   Copyright (2009) Sandia Corporation.  Under the terms of Contract
+   DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains
+   certain rights in this software.  This software is distributed under 
+   the modified Berkeley Software Distribution (BSD) License.
+
+   See the README file in the top-level MapReduce directory.
+------------------------------------------------------------------------- */
+
+#ifndef MRMPI_CONFIG_H
+#define MRMPI_CONFIG_H
+
+#include "vtkConfigure.h"
+#include "vtkSystemIncludes.h"
+
+#if defined(WIN32) && defined(VTK_BUILD_SHARED_LIBS)
+ #if defined(MapReduceMPI_EXPORTS)
+  #define MRMPI_EXPORT __declspec( dllexport ) 
+ #else
+  #define MRMPI_EXPORT __declspec( dllimport ) 
+ #endif
+#else
+ #define MRMPI_EXPORT
+#endif
+
+#endif