mapi/glapi: Fix dll linkage of GLES1 symbols.
authorJosé Fonseca <jfonseca@vmware.com>
Tue, 25 Nov 2014 23:06:25 +0000 (23:06 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 26 Nov 2014 20:31:07 +0000 (20:31 +0000)
commit5fdb6d683984ff44fca7d89e6716b1085970e993
tree5538fb4a97fb3f02c9bce407a9d6eb104bc3738b
parent4b6e93650cfe5f2c285cf601d7f3e8286ce40d3c
mapi/glapi: Fix dll linkage of GLES1 symbols.

This fixes several MSVC warnings like:

  warning C4273: 'glClearColorx' : inconsistent dll linkage

In fact, we should avoid using `declspec(dllexport)` altogether, and use
exclusively the .DEF instead, which gives more precise control of which
symbols must be exported, but all the public GL/GLES headers practically
force us to pick between `declspec(dllexport)` or
`declspec(dllimport)`.

Cc: "10.4" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/mapi/glapi/SConscript