summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJason Rumney <jasonr@gnu.org>2008-03-04 17:31:40 +0000
committerJason Rumney <jasonr@gnu.org>2008-03-04 17:31:40 +0000
commitdc590f119677568ff336a60e65798c64e453a204 (patch)
tree4c03b93343eedde75f4f8e0df1aa7dbc2a35cda8 /src
parent93cd92c00a0aa020eb546b85b531688a29441fbc (diff)
downloademacs-dc590f119677568ff336a60e65798c64e453a204.tar.gz
Wrap in USE_FONT_BACKEND conditional
Diffstat (limited to 'src')
-rw-r--r--src/w32font.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/w32font.c b/src/w32font.c
index 92399f6e4f9..63190c1b578 100644
--- a/src/w32font.c
+++ b/src/w32font.c
@@ -18,6 +18,8 @@ along with GNU Emacs; see the file COPYING. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
+#ifdef USE_FONT_BACKEND
+
#include <config.h>
#include <windows.h>
#include <math.h>
@@ -1845,6 +1847,7 @@ syms_of_w32font ()
w32font_driver.type = Qgdi;
register_font_driver (&w32font_driver, NULL);
}
+#endif /* USE_FONT_BACKEND */
/* arch-tag: 65b8a3cd-46aa-4c0d-a1f3-99e75b9c07ee
(do not change this comment) */