Jelajahi Sumber

Symbols export for the C++ Interface

hansipie 10 tahun lalu
induk
melakukan
020b9fbe93
1 mengubah file dengan 3 tambahan dan 3 penghapusan
  1. 3 3
      include/CivetServer.h

+ 3 - 3
include/CivetServer.h

@@ -20,7 +20,7 @@ class CivetServer;
 /**
 /**
  * Exception class for thrown exceptions within the CivetHandler object.
  * Exception class for thrown exceptions within the CivetHandler object.
  */
  */
-class CivetException : public std::runtime_error
+class CIVETWEB_API CivetException : public std::runtime_error
 {
 {
     public:
     public:
     CivetException(const std::string& msg) : std::runtime_error(msg) {}
     CivetException(const std::string& msg) : std::runtime_error(msg) {}
@@ -30,7 +30,7 @@ class CivetException : public std::runtime_error
  * Basic interface for a URI request handler.  Handlers implementations
  * Basic interface for a URI request handler.  Handlers implementations
  * must be reentrant.
  * must be reentrant.
  */
  */
-class CivetHandler
+class CIVETWEB_API CivetHandler
 {
 {
 public:
 public:
 
 
@@ -91,7 +91,7 @@ public:
  *
  *
  * Basic class for embedded web server.  This has an URL mapping built-in.
  * Basic class for embedded web server.  This has an URL mapping built-in.
  */
  */
-class CivetServer
+class CIVETWEB_API CivetServer
 {
 {
 public:
 public: