• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

SRombauts / SQLiteCpp / #613698365

22 Nov 2023 10:24AM UTC coverage: 98.238%. First build
#613698365

travis-ci

669 of 681 relevant lines covered (98.24%)

29.86 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/include/SQLiteCpp/SQLiteCppExport.h
1
/**
2
 * @file    SQLiteCppExport.h
3
 * @ingroup SQLiteCpp
4
 * @brief   File with macros needed in the generation of Windows DLLs
5
 *
6
 *
7
 * Copyright (c) 2012-2023 Sebastien Rombauts (sebastien.rombauts@gmail.com)
8
 *
9
 * Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt
10
 * or copy at http://opensource.org/licenses/MIT)
11
 */
12

13
#pragma once
14

15
/*
16
* #define SQLITECPP_COMPILE_DLL to compile a DLL under Windows
17
* #define SQLITECPP_EXPORT to export symbols when creating the DLL, otherwise it defaults to importing symbols
18
*/
19

20
/* Windows DLL export/import */
21
#if defined(_WIN32)&& !defined(__GNUC__) && defined(SQLITECPP_COMPILE_DLL)
22
    #if SQLITECPP_DLL_EXPORT
23
        #define SQLITECPP_API __declspec(dllexport)
24
    #else
25
        #define SQLITECPP_API __declspec(dllimport)
26
    #endif    
27
#else    
28
    #if __GNUC__ >= 4
29
        #define SQLITECPP_API __attribute__ ((visibility ("default")))
30
    #else
31
        #define SQLITECPP_API
32
    #endif
33
#endif
34

35
#if defined(WIN32) && defined(SQLITECPP_COMPILE_DLL)
36
    #pragma warning( disable : 4251 )
37
    #pragma warning( disable : 4275 )
38
#endif
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc