Skip to content

Commit

Permalink
Merge pull request #3401 from andralex/odbc-instructions
Browse files Browse the repository at this point in the history
Add ODBC linking instructions
  • Loading branch information
CyberShadow committed Jul 20, 2015
2 parents 0371681 + 3582040 commit d38df50
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions etc/c/odbc/sql.d
Expand Up @@ -10,6 +10,14 @@ original announcement)).
corresponding to the `sql.h` C header file. It `import`s `public`ly
`etc.c.odbc.sqltypes` for conformity with the C header.
Note: The ODBC library itself not a part of the `dmd` distribution (and
typically not a part of the distribution packages of other compilers
such as `gdc` and `ldc`). To use ODBC, install it per the vendor- and
platform-specific instructions and then use the appropriate command-line
flags (e.g. for dmd, `-L-lodbc` on Posix and `-Lodbc32.lib` on Windows) to link
with the ODBC library. On Windows, using $(D pragma(lib, "odbc32")) in D
code at top level is also appropriate.
See_Also: $(LUCKY ODBC API Reference on MSN Online)
*/

Expand Down

0 comments on commit d38df50

Please sign in to comment.