Skip to main content
gamedev.net
🔒 Locked

Issue: Source CPP

Started by MustEatYemen Aug 27, 2005 at 1:12 AM 3 replies 1.4k views
Original Post
MustEatYemen
MustEatYemen
///////////////////////////////////////////////////////////////////////////
//
//  Copyright (C) Microsoft Corporation.  All Rights Reserved.
//
//  File:       d3dx9core.h
//  Content:    D3DX core types and functions
//
///////////////////////////////////////////////////////////////////////////
/*<-SNIP->*/
#ifndef DrawText
#ifdef UNICODE
#define DrawText DrawTextW
#else
#define DrawText DrawTextA
#endif
#endif
/*<-SNIP->*/

Shows the ifndefs and ifdefs as comments, and the comments are grayed out.
-Scott
SiCrane
SiCrane
Run that by me again. Looks fine to me other than the #else.
MustEatYemen
MustEatYemen
Well that's just it. Hmmm Guess it's just the #else statement then.
Didn't know what the color defines you had setup. When I saw the blue highlight for #else, I assumed you were using a color pattern more towards the default VS.net display.

I guess the problem is just #else then.

//Test

#ifndef _header_#define _header_#endif
-Scott
SiCrane
SiCrane
Still looks fine to me. What is your complaint?
MustEatYemen
MustEatYemen
I guess just the #else statement.
-Scott

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.