Change the file containing the macro definitions so that if a particular macro is defined (or not), W_FILESSHARED_EXPORT expands to nothing.
BTW. Moving to General Programming, this has nothing to do with Qt. Next time please think which forum is the best to post a particular question.
Bookmarks