~ubuntu-branches/ubuntu/utopic/rlvm/utopic

« back to all changes in this revision

Viewing changes to vendor/gmock/src/gmock_main.cc

  • Committer: Package Import Robot
  • Author(s): Ying-Chun Liu (PaulLiu), Elliot Glaysher, Ying-Chun Liu (PaulLiu)
  • Date: 2014-03-22 20:55:36 UTC
  • mfrom: (13.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20140322205536-9jz33y91wmvmijj2
Tags: 0.13.1-1
[ Elliot Glaysher <glaysher@umich.edu> ]
* New upstream release
  - Fix crash on the Clannad loading screen on certain OpenGL drivers.
  - Fix order of font loading to prefer working fonts on Linux.

[ Ying-Chun Liu (PaulLiu) <paulliu@debian.org> ]
* Bump Standards-Version to 3.9.5: nothing needs to be changed
* Update rlvm.6 from /debian.upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
// Author: wan@google.com (Zhanyong Wan)
31
31
 
32
32
#include <iostream>
33
 
#include <gmock/gmock.h>
34
 
#include <gtest/gtest.h>
 
33
#include "gmock/gmock.h"
 
34
#include "gtest/gtest.h"
35
35
 
36
36
// MS C++ compiler/linker has a bug on Windows (not on Windows CE), which
37
37
// causes a link error when _tmain is defined in a static library and UNICODE
39
39
// Windows. See the following link to track the current status of this bug:
40
40
// http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=394464  // NOLINT
41
41
#if GTEST_OS_WINDOWS_MOBILE
42
 
#include <tchar.h>  // NOLINT
 
42
# include <tchar.h>  // NOLINT
43
43
 
44
 
int _tmain(int argc, TCHAR** argv) {
 
44
GTEST_API_ int _tmain(int argc, TCHAR** argv) {
45
45
#else
46
 
int main(int argc, char** argv) {
 
46
GTEST_API_ int main(int argc, char** argv) {
47
47
#endif  // GTEST_OS_WINDOWS_MOBILE
48
48
  std::cout << "Running main() from gmock_main.cc\n";
49
49
  // Since Google Mock depends on Google Test, InitGoogleMock() is