mirror of
https://github.com/OpenFOAM/ThirdParty-6.git
synced 2025-12-08 06:57:43 +00:00
ParaView-5.0.1: Added the source-tree to ThirdParty-dev and patched as described in the README file
Resolves bug-report http://bugs.openfoam.org/view.php?id=2098
This commit is contained in:
25
ParaView-5.0.1/VTK/IO/MySQL/vtkMySQLDatabasePrivate.h
Normal file
25
ParaView-5.0.1/VTK/IO/MySQL/vtkMySQLDatabasePrivate.h
Normal file
@ -0,0 +1,25 @@
|
||||
#ifndef vtkMySQLDatabasePrivate_h
|
||||
#define vtkMySQLDatabasePrivate_h
|
||||
|
||||
#ifdef _WIN32
|
||||
# include <winsock.h> // mysql.h relies on the typedefs from here
|
||||
#endif
|
||||
|
||||
#include "vtkIOMySQLModule.h" // For export macro
|
||||
#include <mysql.h> // needed for MYSQL typedefs
|
||||
|
||||
class VTKIOMYSQL_EXPORT vtkMySQLDatabasePrivate
|
||||
{
|
||||
public:
|
||||
vtkMySQLDatabasePrivate() :
|
||||
Connection( NULL )
|
||||
{
|
||||
mysql_init( &this->NullConnection );
|
||||
}
|
||||
|
||||
MYSQL NullConnection;
|
||||
MYSQL *Connection;
|
||||
};
|
||||
|
||||
#endif // vtkMySQLDatabasePrivate_h
|
||||
// VTK-HeaderTest-Exclude: vtkMySQLDatabasePrivate.h
|
||||
Reference in New Issue
Block a user