| 1 | /* |
| 2 | * This Source Code Form is subject to the terms of the Mozilla Public |
| 3 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
| 4 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. |
| 5 | * |
| 6 | * Copyright 1997 - July 2008 CWI, August 2008 - 2019 MonetDB B.V. |
| 7 | */ |
| 8 | |
| 9 | #ifndef _SEEN_MUUID_H |
| 10 | #define _SEEN_MUUID_H 1 |
| 11 | |
| 12 | /* this function is (currently) only used in msabaoth and sql; |
| 13 | * msabaoth is part of monetdb5 and we want this function to be |
| 14 | * exported so that the call in sql can be satisfied by the version |
| 15 | * that is included in monetdb5 */ |
| 16 | extern |
| 17 | #ifdef WIN32 |
| 18 | #if !defined(LIBMSABAOTH) && !defined(LIBMUUID) |
| 19 | __declspec(dllimport) |
| 20 | #else |
| 21 | __declspec(dllexport) |
| 22 | #endif |
| 23 | #endif |
| 24 | char *generateUUID(void); |
| 25 | |
| 26 | #endif |
| 27 | |
| 28 | /* vim:set ts=4 sw=4 noexpandtab: */ |
| 29 | |