Skip to content

Commit

Permalink
Adds missing #ifdef.
Browse files Browse the repository at this point in the history
  • Loading branch information
zooba committed Jul 11, 2015
1 parent 1f64e59 commit 80c52ba
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -226,13 +226,15 @@ class CommandProcessorThread : IDisposable {

private CommandProcessorThread(BasePythonReplEvaluator evaluator) {
_eval = evaluator;
#if DEV14_OR_LATER
var options = _eval._options;
if (options == null || options.UseInterpreterPrompts) {
_userPrompt1 = _userPrompt2 = null;
} else {
_userPrompt1 = options.PrimaryPrompt;
_userPrompt2 = options.SecondaryPrompt;
}
#endif
}

public CommandProcessorThread(BasePythonReplEvaluator evaluator, Stream stream, bool redirectOutput, Process process)
Expand Down

0 comments on commit 80c52ba

Please sign in to comment.