From b56c387eb35696428ce1e85a5eebfd1b737077f2 Mon Sep 17 00:00:00 2001
From: Francois Keith <francois.keith@aist.go.jp>
Date: Tue, 9 Nov 2010 21:26:15 +0900
Subject: [PATCH] Correct the API

---
 include/jrl/walkgen/pgtypes.hh |  2 +-
 src/privatepgtypes.h           | 10 ----------
 2 files changed, 1 insertion(+), 11 deletions(-)

diff --git a/include/jrl/walkgen/pgtypes.hh b/include/jrl/walkgen/pgtypes.hh
index dea6eb41..41a31024 100644
--- a/include/jrl/walkgen/pgtypes.hh
+++ b/include/jrl/walkgen/pgtypes.hh
@@ -32,7 +32,7 @@
 
 // For Windows compatibility.
 #if defined (WIN32)
-#  ifdef walkGenJrl_EXPORTS
+#  ifdef jrl_walkgen_EXPORTS
 #    define WALK_GEN_JRL_EXPORT __declspec(dllexport)
 #  else
 #    define WALK_GEN_JRL_EXPORT __declspec(dllimport)
diff --git a/src/privatepgtypes.h b/src/privatepgtypes.h
index cb68abc5..3f73f1a2 100644
--- a/src/privatepgtypes.h
+++ b/src/privatepgtypes.h
@@ -28,16 +28,6 @@
 #ifndef _PATTERN_GENERATOR_INTERNAL_PRIVATE_H_
 #define  _PATTERN_GENERATOR_INTERNAL_PRIVATE_H_
 
-// For Windows compatibility.
-#if defined (WIN32)
-#  ifdef walkGenJrl_EXPORTS
-#    define WALK_GEN_JRL_EXPORT __declspec(dllexport)
-#  else
-#    define WALK_GEN_JRL_EXPORT __declspec(dllimport)
-#  endif
-#else
-#  define WALK_GEN_JRL_EXPORT
-#endif
 namespace PatternGeneratorJRL
 {
 
-- 
GitLab